MariwanJ / Design456

An attempt to create Direct Modeling workbench for FreeCAD
GNU General Public License v3.0
49 stars 6 forks source link

Divide Object in Two Parts #14

Closed wagnerlip closed 3 years ago

wagnerlip commented 3 years ago

Created a cube, used the "divide object in two parts". It deleted the "cube" from the list and created a "SplitedObject" in the tree list. In 3d screen I can see the same cube with a dividing line in the axis I selected. But I can't move the slices individually, they still connected as a single object, and a message is posted:

10:23:33 ViewProviderExt.cpp(1340): Cannot copute Inventor representation for the shape of Unnamed#Compound

This command should not create two objects from the original one, sliced on the division line?

MariwanJ commented 3 years ago

It is not a cut. It is a divide of the same shape. The tool is for allowing you to extrude a part of the older shape. Most of the tools I have, I remove the old object(s) to simplify the list. As my goal is not to replicate what other WB provide, I don't want to have many objects in the list. In the future I will try to make it even more compact. There is a reason behind that. Some of the tools don't work on the original shape if you keep it. You have to make a simple copy of it. It will confuse the user to have them. That is why. I hope I explained to you. If you have been using (http://www.wings3d.com/) , there is this functionality that you simply divide the object you have to make further extrusion. That is my idea behind this tool. I will make a "cut" tool in the future that will totally divide the object in to two parts. thanks for your question and I hope I answered it.
Please remember that undo-redo doesn't work at all at the moment. I am in the beginning of the development.