Search found 885 matches

Go to advanced search

by keithsloan52
Sat Aug 17, 2019 6:37 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

it is the way they seem to be doing it in catia At the end of the day a CAD system can create basically any BREP shape. GDML is a set of solid geometries. A far richer set than FreeCAD parts but does not cover all possible shapes. You cannot have the flexibility of creating arbitrary shapes with sk...
by keithsloan52
Sat Aug 17, 2019 6:16 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

And what is the difference between tessellation and mesh?
I think you will find Mesh is 3 sided.

A GDML tessellation can be a mixture of 4 and 3 sided.
by keithsloan52
Sat Aug 17, 2019 6:15 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

It seems to have all the objects but has lost the structure i.e. hierarchy
by keithsloan52
Sat Aug 17, 2019 4:36 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

No No my friend it is you that needs to do the research. Will do if I find the time someday I have read bits about CATIA but it is way too expensive unless you are somebody like CERN, so cannot afford to check out what they do. So I also don't know exactly how they have this GDML support implemente...
by keithsloan52
Sat Aug 17, 2019 4:29 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

Forum would not let me upload gdml file type so need to remove the txt part
detector_Mainz_v2.gdml.txt
(7.18 KiB) Not downloaded yet
by keithsloan52
Sat Aug 17, 2019 4:28 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

Don't think it really solve things I am not dealing with standard Parts, can a Part contain a FreeCAD_Python_Object and if yes when exporting as STEP will it just look at the Shape. Given Shape is not standard for such things I doubt it. A doc in my workbench is a whole series of FreeCAD_Python_Obj...
by keithsloan52
Sat Aug 17, 2019 3:36 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

while i have only made a quick look at GDML i think you are probably complicating this without a good reason... attached is sample geometry made in FreeCAD, once as solids and once and shells. next you should probably do some research why it is very common to use just shells when doing FEM analysis...
by keithsloan52
Sat Aug 17, 2019 12:00 pm
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

Don't think it really solve things I am not dealing with standard Parts, can a Part contain a FreeCAD_Python_Object and if yes when exporting as STEP will it just look at the Shape. Given Shape is not standard for such things I doubt it. A doc in my workbench is a whole series of FreeCAD_Python_Obje...
by keithsloan52
Sat Aug 17, 2019 11:03 am
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

Think I need to use Python OCC but confused about how I install it and get FreeCAD to recognize it.
by keithsloan52
Sat Aug 17, 2019 11:00 am
Forum: Developers corner
Topic: Output a single STEP file from muliple shapes.
Replies: 30
Views: 515

Re: Output a single STEP file from muliple shapes.

I found https://searchcode.com/codesearch/view/1618194/ and Part has __toPythonOCC__(Part.Shape) Description: Helper method to convert an internal shape to pythonocc shape Returns: an OCC.Shape But is there a better way? You can make a union or a compound of shapes and export it as STEP or you can ...

Go to advanced search