Part Container i guess should have placement property and i guess it should by default be seen to the outside as a compound. Beyond that i don't know ATM what makes sense or not. And if i need things like Tip or not. Or if i really need any other property or not.DeepSOIC wrote:I'm making a special independent container for that. Do you think I should merge them all into one mighty container? (the benefit of doing that is ability to switch container type after it's been made and populated).
Part-o-magic [New: Selection tools, container duplication]
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Part-o-magic (again)
Re: Part-o-magic (again)
This process imports any type of solid as base feature in a PartDesign body, so you can use PD tools with it.shaise wrote:Then what is the meaning of a Cube inside a Body? (create a cube in Part WB, select it, then press the Body button from PartDesign)
Sure you can, but for some reason PartDesign still considers the cube a "foreign" object. So when trying to map a sketch to the cube, a dialog opens which says that selected geometries are not part of the active body, and to select a type of reference. The first two (Make independent copy/Make dependent copy) create a reference object, but "Create cross-reference" attaches the sketch directly to the cube.shaise wrote:I still cant put sketches directly on it
Re: Part-o-magic (again)
Thanks! I thought its something like that.NormandC wrote:This process imports any type of solid as base feature in a PartDesign body, so you can use PD tools with it.
So at least there is some workaround to work with old/external parts.
Re: Part-o-magic (again)
Yes! But the current method is not fail proof as it does not check for a valid shape first. Currently you can create a base shape from a sketch which creates problems. I reported it in issue #2862.
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Part-o-magic (again)
New feature: ShapeGroup container. By default, it is a compound, but can be switched to fusion or common. Other modes ("Operation" property) not working yet.
Re: Part-o-magic (again) [new feature - ShapeGroup(Compound) container]
I was able to create 2 shape groups and each has 2 part primitives in it. Resulting shape groups can be placed freely:
After i decided to test if i could apply Assembly 2 plane constraint between them. It worked as expected:
After i decided to test if i could apply Assembly 2 plane constraint between them. It worked as expected:
I am guessing entering the shape group edit mode and doing whatever users wants instead isn't an option?DeepSOIC wrote:Other modes ("Operation" property) not working yet.
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Part-o-magic (again) [new feature - ShapeGroup(Compound) container]
Actually, it is!triplus wrote:I am guessing entering the shape group edit mode and doing whatever users wants instead isn't an option?
Re: Part-o-magic (again)
Great! Exactly what I was looking for! ThxDeepSOIC wrote:New feature: ShapeGroup container. By default, it is a compound, but can be switched to fusion or common. Other modes ("Operation" property) not working yet.
This is very useful for STEP assembly...
I tried to play with placement and it works correctly... and I can export as STEP the Group(s) assembled as in the PoM hierarchy
ATM I found a small issue... I can apply colors to sub-parts, but they get lost when exporting the file as STEP... Is there something that can be improved? Thx
Maurice
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Part-o-magic (again) [new feature - ShapeGroup(Compound) container]
I'm afraid, to support colors, I may have to move over to c++.
Re: Part-o-magic (again) [new feature - ShapeGroup(Compound) container]
If I can ask... please have a try.DeepSOIC wrote:I'm afraid, to support colors, I may have to move over to c++.
I found this wb so useful for assembly road