PolarPattern appears to work but not visible
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
PolarPattern appears to work but not visible
In the attached file, the next to last feature is a loft of two partial sections of the top rim, which is a linear pattern of the bottom rim.
The loft appears to work fine (feature "Proto_Support")
However, when I try to propagate that to the other pillars with a polar pattern, the it appears to work (no errors reported) but the additional supports do not show up. I can see the outline of the bottom sketch of the loft on each of the pillars, but the loft isn't there.
Ideas about what I'm doing wrong?
OS: FreeBSD 11.4-RELEASE-p6 (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.20.master
Build type: Release
Python version: 3.7.9
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.0
Locale: C/Default (C)
The loft appears to work fine (feature "Proto_Support")
However, when I try to propagate that to the other pillars with a polar pattern, the it appears to work (no errors reported) but the additional supports do not show up. I can see the outline of the bottom sketch of the loft on each of the pillars, but the loft isn't there.
Ideas about what I'm doing wrong?
OS: FreeBSD 11.4-RELEASE-p6 (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.20.master
Build type: Release
Python version: 3.7.9
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.0
Locale: C/Default (C)
- Shalmeneser
- Veteran
- Posts: 9560
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: PolarPattern appears to work but not visible
There is clearly a problem.
We can see seams around the top.
The Std_DependencyGraph seems correct.
Part_CheckGeometry seems correct.
Modifying the Proto_Ssupport Loft, against coplanarity doesn't heal anything.
I don't know.
We can see seams around the top.
The Std_DependencyGraph seems correct.
Part_CheckGeometry seems correct.
Modifying the Proto_Ssupport Loft, against coplanarity doesn't heal anything.
I don't know.
- Attachments
-
- Capture du 2021-11-12 19-01-22.png (15.66 KiB) Viewed 2535 times
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: PolarPattern appears to work but not visible
It is a coplanar issue. I used PDWrapper macro to 3D offset the support by .1 mm and it works.
Usage:
1 install pdwrapper (tools menu -> addon manager -> macros)
2 Delete Supports (last polar pattern feature in tree)
3 select Proto_Support, run macro -> additive type -> follow Proto_Support in the tree
3 select PDW_Add object, set Show Offset Props to True (at bottom of property list)
4 set Tip Tool Offset property to 0.1
5 set Pattern Tool Offset property to 0.1
6 select PDW_Add, execute polar pattern feature -> 4 occurrences
This is a workaround for the real problem -- the boolean fusion fails due to coplanar faces. You haven't done anything wrong, it's just a bug in the CAD kernel that FreeCAD uses (OCCT). A better workaround is to enlarge the sketches used to create the Proto_Support object.
What the PDWrapper macro does here is uses 3D offset to enlarge the Proto_Support loft only very slightly by 0.1 mm. A smaller value might also work or perhaps even a negative value. The Tip Tool Offset modifies the original object. The Pattern Tool Offset modifies the extra copies made by the polar pattern tool, or more specifically, the shape that the polar pattern tool makes copies of.
Usage:
1 install pdwrapper (tools menu -> addon manager -> macros)
2 Delete Supports (last polar pattern feature in tree)
3 select Proto_Support, run macro -> additive type -> follow Proto_Support in the tree
3 select PDW_Add object, set Show Offset Props to True (at bottom of property list)
4 set Tip Tool Offset property to 0.1
5 set Pattern Tool Offset property to 0.1
6 select PDW_Add, execute polar pattern feature -> 4 occurrences
This is a workaround for the real problem -- the boolean fusion fails due to coplanar faces. You haven't done anything wrong, it's just a bug in the CAD kernel that FreeCAD uses (OCCT). A better workaround is to enlarge the sketches used to create the Proto_Support object.
What the PDWrapper macro does here is uses 3D offset to enlarge the Proto_Support loft only very slightly by 0.1 mm. A smaller value might also work or perhaps even a negative value. The Tip Tool Offset modifies the original object. The Pattern Tool Offset modifies the extra copies made by the polar pattern tool, or more specifically, the shape that the polar pattern tool makes copies of.
- Attachments
-
- PolarPatrn_1_markster.FCStd
- (283.21 KiB) Downloaded 35 times
- Shalmeneser
- Veteran
- Posts: 9560
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: PolarPattern appears to work but not visible
Modifying the offset manually, I cannot successed.
- Attachments
-
- PolarPatrn_1_SHALM.FCStd
- (126.37 KiB) Downloaded 35 times
-
- Capture du 2021-11-12 19-49-41.png (21.2 KiB) Viewed 2493 times
Re: PolarPattern appears to work but not visible
In an attempt to get around this, I changed the order of construction to get rid of the polar patterns.
In this simpler model, it fails to even loft the first time.
In this simpler model, it fails to even loft the first time.
Re: PolarPattern appears to work but not visible
If I save and reload PolarPatrn_2, it looks ok.
If I then try to create a polar pattern of the Proto_WindingRib and the Loft, it fails with the message "One transformed shape does not intersect support".
I don't understand that -- in the attached image, it looks like the top of the original upright is cut off.
If I then try to create a polar pattern of the Proto_WindingRib and the Loft, it fails with the message "One transformed shape does not intersect support".
I don't understand that -- in the attached image, it looks like the top of the original upright is cut off.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: PolarPattern appears to work but not visible
Maybe it is not a coplanar face problem then, but something else that is being corrected with the offset. I tried scaling, but that also fails.
Another workaround is to use fillets for the support structure:
Another workaround is to use fillets for the support structure:
Re: PolarPattern appears to work but not visible
I was trying to avoid using fillets because they don't seem to work with transforms, so subsequent additions don't always work.TheMarkster wrote: ↑Fri Nov 12, 2021 8:21 pm Another workaround is to use fillets for the support structure:
For example, if I create only the proto_post and add fillets to it, then do a polar pattern to get posts with fillets, I can't do that. Maybe I just don't know how to do that properly.
I tried making the sketches 0.1mm smaller than the rims, and also 0.1mm larger, and in both cases it fails to create the polar pattern.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: PolarPattern appears to work but not visible
I usually save the fillets for last because they are quite fragile to topological naming and because they are fairly simple (if a bit tedious) to do. Another train of thought is to do them very early in the process.
You can use a multitransform to add the fillet, polar pattern it, and then mirror it.
You can use a multitransform to add the fillet, polar pattern it, and then mirror it.
- Attachments
-
- PolarPatrn_1_markster_fillet_multitransform.FCStd
- (161.58 KiB) Downloaded 47 times
Re: PolarPattern appears to work but not visible
Thanks.
I tried simplifying by getting rid of the angular constraints and circular aspects of the pillar and loft, so the pillar is square and the loft sections are a square and a rectangle. I also reduced the base to simply two circles. It still fails. However, if the base is a square, it works.
I tried simplifying by getting rid of the angular constraints and circular aspects of the pillar and loft, so the pillar is square and the loft sections are a square and a rectangle. I also reduced the base to simply two circles. It still fails. However, if the base is a square, it works.