Lattice workbench [updated Polar Array]

Need help, or want to share a macro? Post here!
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Wed Oct 28, 2015 10:51 pm

A few new tools are available:
* Individual placement (like an array of just one element)
* ArrayFromShape: can convert Draft Arrays to lattice arrays (parametric), which can then be applied as many times as desired. [very new, may be very buggy]
* Apply tool: put real shape into placements of a lattice array
* compose (the one that was on two last teasers): similar to Apply, but enumerating children in a compound.
lattice arrayFromShape.png
ArrayFromShape applied to a Draft PathArray of spheres
lattice arrayFromShape.png (138.39 KiB) Viewed 1763 times
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Fri Oct 30, 2015 12:03 am

Fisrt project done with some usage of Lattice wb.
PMT lattice teaser.png
PMT lattice teaser.png (229.82 KiB) Viewed 1734 times
https://drive.google.com/file/d/0B9lBm- ... sp=sharing

Lattice tools that came handy:
* Bounding boxes (they are very handy for attaching sketches, and they have stable face numbering)
* Lattice Placement/Lattice Apply: equivalent of Draft Clone, but moves as the original is moved (unlike clones, which stay where they are if original is moved). Also helped very much to quickly bring the model modeled in XZ plane to XY plane for plating.
That was a tight fit. I had to modify the model to fit it.
* Downgrade, Fuse compound. Turned useful when making notches that align two halves.
User avatar
bernd
Posts: 10997
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Lattice workbench [in development]

Postby bernd » Sat Oct 31, 2015 12:54 pm

DeepSOIC wrote:...
2. Thinking on a analysis tool. Because it is impossible to figure out the content of shape (a compound of faces looks exactly like a solid cube). I think of a window in task pane, where object structure will appear whenever it is selected. Like so:

Code: Select all

Compound:
    Compound:
        Face
        Face
    Compound:    
        Solid
        Vertex
Alternative is a separate tool that uses graphviz (can be much easier as well as much harder than the first variant)
Any update on this? Something really useful for me too.
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Sat Oct 31, 2015 12:57 pm

bernd wrote:Any update on this? Something really useful for me too.
Nope, thanks for reminding. I almost forgot.
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Sat Oct 31, 2015 3:12 pm

bernd wrote:Any update on this? Something really useful for me too.
Done and pushed to github! Lacks icon so far...
lattice info tool.png
lattice info tool.png (251.86 KiB) Viewed 1662 times
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Sun Nov 01, 2015 5:21 pm

Feature announcement: string array
Attachments
lattice shapestring.png
lattice shapestring.png (29.02 KiB) Viewed 1629 times
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Sun Nov 01, 2015 8:34 pm

I have made a new marker shape. Hopefully, this one is a bit easier to catch the orientation by looking at it, compared to previous one.
introducing-paperplane-marker.png
introducing-paperplane-marker.png (44.9 KiB) Viewed 1612 times
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Lattice workbench [in development]

Postby triplus » Sun Nov 01, 2015 10:48 pm

Did some quick tests and it is looking good.
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Mon Nov 02, 2015 11:43 pm

Linear array was just implemented, so I though - why not try creating a Pi tower I recall someone was making...
pi tower.png
pi tower.png (34.33 KiB) Viewed 1571 times
User avatar
DeepSOIC
Posts: 7829
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Lattice workbench [in development]

Postby DeepSOIC » Fri Nov 13, 2015 7:59 pm

Another teaser.
I have created a small model of a solar tracking powerplant. The main aim was to orient the mirrors, which turned out to be much trickier than I expected. But I got it.
The model is parametric: number of mirrors can be changed; tower can be moved, direction of sunlight can be changed.
SolarPlant 3.png
SolarPlant 3.png (262 KiB) Viewed 1509 times
SolarPlant 3.FCStd
(238.15 KiB) Downloaded 62 times
I'm thinking of making a tutorial based on this model. The process of deriving mirrors orientation from incoming and reflected directions is the most tricky part, all the rest is pretty easy.

I also think of making a special tool: averaging aiming. I already have orientation averaging, but it averages overall orientations, not just X axes, so it didn't do what I expected. Now I did a workaround via a center of mass of two fused spheres.

For those who just want to have a play:
Plm-Sunlight sets sunlight direction