this post was submitted on 19 Oct 2023
12 points (100.0% liked)

FreeCAD

856 readers
2 users here now

Your own 3D parametric modeler.

www.freecadweb.org

FreeCAD is an open-source parametric 3D modeler made primarily to design real-life objects of any size. Parametric modeling allows you to easily modify your design by going back into your model history and changing its parameters.

founded 2 years ago
MODERATORS
 

Hi everyone,

I have some prior experience with Solidworks, but I wanted to try out a FOSS alternative. I've been messing around in FreeCAD for a couple hours and I have the following question:

How do I polar pattern a revolved surface?

I want to accomplish something similar to what is described in this video (12:14 to 13:44).

My ideal workflow is as follows:

  1. Create sketch (e.g. square)
  2. Pad sketch to create body (e.g. cube)
  3. Create new sketch (e.g. line)
  4. Revolve sketch to create surface (e.g. disc)
  5. Polar pattern the surface to create multiple (e.g. 4) discs
  6. Slice apart cube by 4 discs to yield 9 separate bodies

I'm stuck on step 5. Is this possible in FreeCAD? If not, are there any recommended workarounds to achieve the same result?

Thanks in advance!

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

If the surface polar pattern is referenced to a revolve line such that the disc patterns do not intersect with the cube, FreeCAD will throw an error because you can't have multiple bodies within the same body entity.

[–] [email protected] 1 points 11 months ago (1 children)

Thank you so much for your reply! Not sure why I didn't see it until now!

If the surface polar pattern is referenced to a revolve line such that the disc patterns do not intersect with the cube,

I don't think this should be an issue, as the axis I'm referencing for the polar pattern should result in all patterned discs intersecting the cube.

FreeCAD will throw an error because you can’t have multiple bodies within the same body entity.

Not entirely sure I understand this part. Are surfaces considered bodies, or are only things with volume considered bodies.

I'm having difficulty creating my polar pattern in the first place. The default behaviour of the polar pattern tool seems to be to pattern my cube, rather than my disc. If I manually remove the cube from the features list and select the disc instead, the following message pops up:

None of the three options seem to result in the behaviour I expected, which would be something like this:

Any advice?

Thanks!

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

So you can try the realthunder/linkstage branch of freecad if it is a body problem.

FreeCAD main can't have 4 seperate solids within the same "body" (file -> part -> body -> sketch heirarchy). Every solid that isn't intersecting has to be a seperate body.

For this test you are doing, you will have to use the Part workbench instead of Part Design, I think. There you can make 2D and 3D shapes, but every one is a separate body. Then you can do some similar pattern cuts, but it will create new bodies based on your cuts and hide the old ones.

I would say Part workbench is the most like Solidworks where Part Design is sketch based. That means use additive design as much as possible for a single solid part in Part design, then put different solid objects together with assemblies.

[–] [email protected] 1 points 11 months ago (1 children)

Thanks! Using the "Part" workbench instead of the "Part Design" workbench, and using the "Polar array" tool from the "Draft" workbench instead of the "PolarPattern" tool from "Part Design" workbench seems to have done the trick.

I'm now having some difficulty with step 6: Slicing the cube into 9 pieces. It seems like the best tool for this is "Slice apart" from the Part workbench. Is this the correct tool?

If I set the polar array number to 2 (generating two discs), I can slice the cube into 3 pieces just fine. However, if I set the polar array number to 4 (generating four discs), the "Exploded Slice" in the tree contains only 3 pieces, not 9.

The exterior faces of the cube appear to have been sliced by all four discs, but only two discs seem to have actually sliced the solid.

What am I missing?

[–] [email protected] 2 points 11 months ago

I think you'd be better off using the Boolean XOR tool from the same Split submenu (if you approach it from the Part menubar in the Part workbench), on your cube and your array, instead of the Slice apart tool.

Then on the resultant XOR object use the Explode compound tool from the Compound submenu.

You'll get a folder with all your sliced parts in it.