Comments (13)
Hi, this is by design, to allow cross-item attachment. For example, if you use Edge1 and Edge2 (which Lattice2 reinterprets as Child2.Edge1) as support, Lattice2 will loop as: Child1.Edge1+Clild2.Edge1, Child2.Edge1+Child3.Edge1. You can switch PlacementSubsequence.CycleMode to Periodic, then the first one will also be included (but appear as the last placement of the array).
from lattice2.
Ok, I thought it might be by design
But, what are Child 1 & 2? I'm making that connection...
from lattice2.
The shape of the sketch is a compound of wires, ChildX is a child of that compound (a wire). Each child in your sketch has just 1 edge. If you were to make the L-shape placer sketch, each child will have two edges.
from lattice2.
Excuse me, I've not looked at the way the sketch handles this is quite a while.
So, what associates the 2 edges of the L-shape to a child?
from lattice2.
Sketcher assembles edges into wires by looking at geometrically coincident vertices (the way you constrain it doesn't matter, actual positions do). Also, don't do triple (and higher) connections, they cause broken shapes and unstable edge/vertex numbering. (construction geometry is completely ignored, thankfully)
from lattice2.
I'm sure I don't get the details...
I opened one of the sketches in the example. Added an edge to make up an L-shape. One vertex is on top of the other. When the sketch is closed, the Placement is changed as expected.
But, when I select the sketch, then look at it's details in the selection object (I stop the code running in a debugger), the sketch has now 4 'Part::GeomLineSegment' objects (before it had 3). But, I don't see what indicates there is a parent of two of the segments...
from lattice2.
Part::GeomLineSegment is the content of Geometry property. Lattice2 does not use it, it uses Shape property.
from lattice2.
Use Lattice2's Shape Info to examine shape structure, it was made for that.
Selected 1 subelements:
Vertex2: Vertex ([-14.905163, 35.62737, 4.0])
Selected document object:
Name = Sketch002
Label = Sketch002
Is placement/array = False
Structure:
Compound (3 objects):
Wire (1 segments)
Wire (1 segments)
Wire (1 segments)
from lattice2.
Aha, I see in my debugger the SubShape.SubShapes has the association between two of the edges.. But, what process made that association?
I'll have a look at the Shape Info here shortly.
from lattice2.
But, what process made that association?
from lattice2.
Ok, so that's a sort of base process.
Thanks...I hope I haven't asked too many questions. I appreciate your patience.
from lattice2.
well, they are good questions!
from lattice2.
Thank you, DeepSOIC, for creating this amazing workbench! You are a technical mastermind of which there are only few. Your workbench enables workflows that are complex but which are too cumbersome to do in regular FreeCAD. I also love that you added the PartDesign equivalent of Feature Mirror as Lattice2 Mirror tool! You enable people.
from lattice2.
Related Issues (20)
- "Invalid type" exception with spredsheet data in FreeCAD 0.19 HOT 4
- Lattice2 for Std Part HOT 1
- Multiple colors/appearances HOT 3
- Attached Placement Error HOT 1
- Using LatticePattern with App::Link HOT 4
- How to use TopoSeries? HOT 1
- ParaSeries fails when there's a link to a part in another document HOT 4
- Update to new FreeCAD AddonManager metadata schema HOT 3
- expression button on ParameterRef property of ParaSeries doesn't do what a normie expects
- Missing icon HOT 1
- With latest FC build Lattice shapestirng doesn't work HOT 2
- Populate with copies: Build Array "Polar" Offset not working HOT 2
- Separate span / step rules / generator values for multiple property references separated by ";" HOT 1
- Lattice Icons have weird location in Linkstage. HOT 4
- Make tangent to construction geometry HOT 1
- Lattice2 Array Filter sketch HOT 1
- Generator properties don't disable when GeneratorMode and Values Source are changed
- Orient Mode cild.FaceAxis HOT 1
- Unit mismatch on keyboard editing attachment angle HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lattice2.