You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add optional "Join bodies if possible" to Circular and Rectangular Pattern #21625
area:kernelB-rep kernel, booleans, blends, STEP/IGESenhancementNew feature or requestin progresssomeone is working on it (see comments)needs-triageno priority yet; a maintainer sorts it with /triage
I am constructing a parametric gear from a single extruded tooth sector using Circular Pattern.
Circular and Rectangular Pattern create separate bodies, even when the resulting bodies share faces or overlap.
To obtain a single body, an additional Combine (Join) operation is required.
However, the subsequent Combine operation depends on a fixed selection of bodies. When the number of pattern instances is changed:
Increasing the number may leave newly created bodies outside the Combine operation.
Decreasing the number may invalidate existing body references and cause the Combine operation to fail.
This makes reliable parametric modeling with a variable number of pattern instances difficult.
How you imagine it working
Add an optional checkbox for body patterns:
Join bodies if possible
Unchecked: Existing behavior remains unchanged.
Checked: The original bodies and their pattern instances are joined wherever geometrically possible.
Disconnected bodies remain separate.
Bodies unrelated to the pattern are not affected.
Geometric failures during Join should be reported.
The Join operation should be an integral part of the pattern feature and automatically recomputed whenever its parameters change, including the number of instances.
The checkbox should be unchecked by default to preserve backward compatibility.
Scope:
Circular Pattern
Rectangular Pattern
UI and command interface
Unlike the automatic operation selection discussed in #6901 and implemented in #6903, this proposal introduces an explicit, user-controlled option within the pattern operation.
Tested on 0.48.1 with the command-line tool, on a disc with one tooth of my own: a circular pattern of the tooth feature (features), not of the bodies, gives one body with 8 instances and, tested separately, one body with 12, so no Combine is needed. In the pattern dialog this is Object Type set to Features, as docs/feature-patterns.md describes. Changing the count of an existing pattern was not tested, and I did not open the window or try the rectangular pattern.
Our construction differs slightly. We start with a single extruded tooth sector, without a separate base disc.
I tested both Bodies and Features in the Circular Pattern dialog in SolidCraft 0.48.1. In both cases, the resulting sectors remained separate bodies, even when the angular distribution was changed to create overlapping volumes.
The proposed checkbox would allow these bodies to be joined directly as part of the pattern operation, independently of how the original body was created.
Another important aspect is changing the number of instances in an existing parametric pattern without having to maintain a separate Combine operation.
Your test with a base disc is nevertheless an interesting alternative construction method. Thank you for investigating this.
The gear is only an example to illustrate the problem. The requested enhancement is intended as a general modeling capability, independent of the geometry or the construction history of the original body.
Users should be able to create a parametric pattern of bodies and optionally merge connected instances without having to restructure their original construction or maintain a separate Combine operation when the instance count changes.
This applies to both Circular and Rectangular Pattern.
Tested on 0.48.1 with the command-line tool, on a single extruded sector of my own with no base disc (a 30 mm by 15 mm triangle, 5 mm thick, as a new body) and a circular pattern of 15 over 360°, so neighbouring sectors overlap: patterned as a feature or as a body, it gives 15 separate bodies. The one body I reported earlier was for a tooth joined onto a base disc, so it does not cover your case. I did not open the window.
area:kernelB-rep kernel, booleans, blends, STEP/IGESenhancementNew feature or requestin progresssomeone is working on it (see comments)needs-triageno priority yet; a maintainer sorts it with /triage
Activity
raykholo commentedon Nov 24, 2026
Tested on 0.48.1 with the command-line tool, on a disc with one tooth of my own: a circular pattern of the tooth feature (
features), not of the bodies, gives one body with 8 instances and, tested separately, one body with 12, so no Combine is needed. In the pattern dialog this is Object Type set to Features, as docs/feature-patterns.md describes. Changing the count of an existing pattern was not tested, and I did not open the window or try the rectangular pattern.Krtzkrt commentedon Nov 24, 2026
Thank you for testing this!
Our construction differs slightly. We start with a single extruded tooth sector, without a separate base disc.
I tested both Bodies and Features in the Circular Pattern dialog in SolidCraft 0.48.1. In both cases, the resulting sectors remained separate bodies, even when the angular distribution was changed to create overlapping volumes.
The proposed checkbox would allow these bodies to be joined directly as part of the pattern operation, independently of how the original body was created.
Another important aspect is changing the number of instances in an existing parametric pattern without having to maintain a separate Combine operation.
Your test with a base disc is nevertheless an interesting alternative construction method. Thank you for investigating this.
The gear is only an example to illustrate the problem. The requested enhancement is intended as a general modeling capability, independent of the geometry or the construction history of the original body.
Users should be able to create a parametric pattern of bodies and optionally merge connected instances without having to restructure their original construction or maintain a separate Combine operation when the instance count changes.
This applies to both Circular and Rectangular Pattern.
raykholo commentedon Nov 24, 2026
Tested on 0.48.1 with the command-line tool, on a single extruded sector of my own with no base disc (a 30 mm by 15 mm triangle, 5 mm thick, as a new body) and a circular pattern of 15 over 360°, so neighbouring sectors overlap: patterned as a feature or as a body, it gives 15 separate bodies. The one body I reported earlier was for a tooth joined onto a base disc, so it does not cover your case. I did not open the window.
github-actions commentedon Nov 25, 2026
Claimed by @0rdnungsamt through #21918. The claim lapses after 14 days without pushes.
Pattern: an option to join the patterned bodies where they touch
claim: #21625