Hello, I’m trying to adapt a simple double wall script (from a surface) which works fine unless I try using a surface with a hole in it – like a door
Please include (simplified) file(s) whith the results up to now, so we can have a look. Regards, Eef
Thanks Eef, here you go -
shell with opening for double wall.3dm (2.1 MB)
04-Bases-Double Wall.gh (26.3 KB)
Nice work! I hided all the stuff in Rhino, to see the Brep you are working on.
Pattern also nicely visible. I haver read the book of Professor Cuevas, so understand well what your goal is.
OK. I will test what happens when I make a hole in the prep as first step.
this could be a way to split the data tree into closed curves and open curves with the Sift Pattern component, then joining the tree back together with Combine Data:
04-Bases-Double Wall_inno.gh (53.1 KB)
probably you can do the same using a few less components (and definitely without using Group…) but this was just the very first thing that came to my mind
on a side note, I much advice using ToPoly component instead of Divide Curve with a set (or variable) number of points: with ToPoly, polyline vertexes are actually generated only where are needed, in order to maintain the Tolerance you set
so for instance, if you have a 2 meters long straight line, using Divide Curve will generate n points, but you can just define it with 2 points (start_pt, end_pt) and ToPoly will indeed generate 2 points in total instead of n points
if you want to generate a unique path through all the polylines, just insert an explode curve component after the ToPoly, and connect the Vertices output to a Flattened Polyline-component Vertices input
Thank you Inno! this is great - except - the contours need to connect. The pink version shows how far I can get with the basic script - if you notice, the seam is riding up the door frame instead of the back so the door frame comes out crooked.
and the green version shows what I want to accomplish with Grasshopper but can only do so far by stitching contours together manually - which is fine for one simple thing but my plan is to do a lot of different versions.
that depends entirely on the seam of each curve, meaning its start and end point (difficult to see by eye as they are all closed curves )
the most common way to deal with that is to use a second curve that you build by hand, or a point, or any geometry in general, and for each layer, the closest point to that geometry will be set as starting point of that curve (will be something like Closest Point or Pull + Shift List)
in that case, the “quality” of the seam moving from a layer to the next one depends solely on how many points each layer curve is built of, and somehow conflicts with the use of ToPoly adviced in my previous post, because on one hand ToPoly will generate the minimum number of points needed to create a given Polyline curve, but on the other hand, it will not create intermediate points along straight segments → and if a given curve is made of just -for instance- 20 points, some of which are like 10 cm apart from each other, then also the seam will have to chose among one of those, and can move zig-zag in a non-beautiful way
I’ll post a gh example tomorrow morning when back to the PC I work with, but just as general question:
- were you thinking of letting the 3D printer deposit extruded material the whole time, even when it’s moving +Z jumping from a finished layer to the next one?
- or were you thinking to make it stop extruding, move up, and start extruding again?
- are you gonna print clay?
Thanks Inno - yes - I have a clay printer so the curve needs to be continuous -
You can see in the green example that there is a seam on the back inner side and where it steps up at about a 30 degree angle.
I think when the seam on the back inner side - opposite the door - reaches the top of the door the seam has to flip to the outside to keep the inner and outer curves connected?
Thanks again,
John
Hello
not sure it is relevant, but in Nautilus there is a little component that connects closed curve.
04-Bases-Double Wall_inno2.gh (55.1 KB)
There will be on next version a component that shift the transition (so it will not be vertical), but it is not very good on the top.