FreeCAD GDML Workbench & Geant Workbench

Yes please add as in Issue to github.

If you have a simple example then perhaps we could add it to the set of testcases at GitHub - KeithSloan/FreeCAD_GDML_Test_Collection: A set of FreeCAD files created with the GDML workbench - In Future will be used for Auto Testing..

If not I will try and create a test case from your issue report.

Sure I have a few files I am working on. I just need to figure out something related to scoring…(not gdml related)

1 Like

I have done several bufg fixes and changes in the past few days, including the ability to sketch and extrude/revolve in arbitrary planes/directions. Hopefully Keith will put a branch that you can use for testing soon.

It would be very helpful if you can put a file somewhere that illustrates the bugs/prblems you are facing.

Thanks,

Munther

Where would the best place for this be?

I am sorry, I don’t look at the forum until Keith points me to some issues. So apologies for late replies. We currently don’t support bevels directly in the exported GDML file. What you can always do is convert the beveled surface to a tessellation (using tools in the GDML Workbench). I believe booleans with tessellated solids should work.

If the file is not too big (say les than 20 Mb) you can email me or Keith. My email is muntherhindi at gmail dot com.

1 Like

You can import a GDML file with an Extruded Polygon or Arbitary Trapezoid

I can easily add an Extruded Polygon to Gui Supported Solids on the Command bar.

Or Arbitary Trapezoid which you could use as the fillet and boolean with the Cube.

Again could easily be added as Gui supported Solid

1 Like

Need to engage brain before posting about Extruded Polygon, Arb

Have created a basic macro that adds a Polyhedra for filleted box with equal x & y dimensions.

Would have to make hole with boolean of Tube.

Can add dialog for parameters and make available if of interest.

Also add an second macro that has an extra option of making a hole with a Boolean of a Tube.

FilletBox.FCStd.txt (174.7 KB)

Extruded Sketch, Part workbench used to fillet, Tessellated with Gmsh Min



ThermalPile-Gmsh-WorldVol.gdml.txt (225.4 KB)
FilletExtrudeGmsh.FCStd.txt (155.8 KB)

Extruded Sketch, Part Workbench - Chamfer, Tessellated with Gmsh Min




ChamferExtrudeSketch-Gmsh-WorldVol.gdml.txt (55.5 KB)
ChamferExtrudeGmsh.FCStd.txt (253.4 KB)