[Plugin] Extrude Edges by Rails to Lattice
71 posts
• Page 1 of 3 • 1, 2, 3
[Plugin] Extrude Edges by Rails to Lattice###
Copyright 2010 (c), TIG All Rights Reserved. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ### extrudeEdgesByRailsToLattice.rb ### Description: Takes a set of curves [Profiles/Rails/Both] and forms 'Lattice' groups. The Lattice can be plain curve 'lines' only, i.e. a set of profiles, rails or both, that you can use for other purposes later; or it can be made as a 3D form offset by frame given width and depth, and pane inset, you can also assign limited materials to the frame/pane for ease of future selection/manipulation. ### Usage: Run 'Extrude Edges by Rails to Lattice', from the Plugins Menu, or the Extrusions Toolbar... You are then prompted to pick 2/3/4 curves to be used in forming the 'Lattice' - a Profile, Rail1, Rail2 [this can be Rail1 again] and a Melding-Profile [can be the Profile again] - please see EEbyRails for more details on this... A dialog then prompts you to choose 'from Profiles', 'from Rails', 'from Diagonals' or 'from Profiles/Rails' [i.e. default = full 'grid']. Choose option: 'Cancel' exits, 'OK' continues. If you chose Lattice 'from Profiles' or 'from Rails' or 'from Diagonals' then the result can only be curves as lines: these are now made - they are grouped to avoid intersecting with other geometry. Note that the order in which you pick rail-1 and rail-2 determines the direction of any 'diagonals' it will make. If you chose a Lattice 'from Profiles/Rails' you are next prompted to choose a 'form' for the Lattice - as 'Lines' or as '3D'. Choose option: 'Cancel' exits, 'OK' continues... If you chose 'Lines' then a set of curves as lines only are made, the profiles and rails sets are individually grouped and grouped separately so the do not intersect with each other or other geometry. If you chose '3D' a dialog now asks for the 'Lattice Properties': 'Width' - default is 50mm/2" - this is the width centered on the lines so it's effectively a 100mm/4" 'frame' overall where faces abut. [if <=0 it defaults] 'Depth' - default is 50mm/2", this is measured 'in' from the face [if==0 there is no 'depth', if <0 it defaults]. 'Pane Inset' - the amount the pane is inset from the frame's top-face - default is 25.mm/1" [if ==0 there is no 'inset', if <0 it defaults; it can never be more than the depth, and reverts to that if it is]. 'Pane Thickness' - the thickness of the pane measured inset from the pane's top face - default is 5mm/0.25" [if ==0 the pane is 'one sided' (facing 'out'), if <0 it is 'outset', this -ve 'outset' cannot be > the pane_inset, the pane_thickness is limited to the frame_depth-pane_inset]. It is best to give the pane a thickness if it is to be seen from both sides and the lattice might be exported to a 3rd party renderer. 'Lattice Material' - default is <Default> - additional choices are 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet', 'Black', 'White' or 'Gray'. 'Pane Material' - default is <None>** - additional choices are <Default>, "Glass"***, 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet', 'Black', 'White', 'Gray'. **Note: if Pane Material == <None> then the faces that would form them become 'holes' in the final lattice. ***The 'Glass' material will be made if it doesn't exist - it is colored 'bluish-light-gray' with 30% opacity. A faced mesh is made [like EEbyRails] with triangulation to ensure that any twisted shapes get 'faced'. You are asked if you want to 'Reverse Faces' - Yes/No: important as the mesh depth/insets etc are from the 'top', i.e. front face of the mesh. If there are any 'Coplanar Edges' then they are highlighted and you can choose to erase them Yes/No: removing them will result in some non-triangular lattice panes. The Faces' edges are now offset to suit, then pushpulled to suit and the materials applied. Note that faces too small to have a 'pane' are made 'solid'. A closing dialog asks if you want to delete the originally selected curves - Yes/No. Donations: Are welcome [by PayPal], please use 'TIGdonations.htm' in the ../Plugins/TIGtools/ folder. OR Version: 1.0 20100428 First release. 1.1 20100429 Glitches with display fixed, included 'offset.rb' updated to latest version and trapped for a fail. 1.2 20100430 Minor tweaks to text for lingvo files. New ES=Defisto and FR=DidierBur + Pilou. Flat faces at z=0 auto-reversed. 1.3 20100504 Offset now reworked and 'in class'. Pane has back_material. 1.4 20100506 'Diagonals' option added. 1.5 20100507 Glitch with Line only versions Grouping fixed. 1.6 20100517 All lingvo files updates - adjusted ES by Defisto. 1.7 20101023 Pane thickness option added and lingvos updated. 1.8 20101027 Missing db on 'Processing...' corrected. ### NOTE: the latest versions of these files is in the zipped set downloaded from here http://forums.sketchucation.com/viewtop ... 63#p217663 Please, register (free) to access all the attachments on the forums. TIG
Re: [Plugin] Extrude Edges by Rails to LatticePlease, register (free) to access all the attachments on the forums.
Re: [Plugin] Extrude Edges by Rails to LatticeTIG:
Excellent concept! Some obvious considerations: I am just going to throw these out with no disrespect intended, just food for further thought? The profile of the lattice members will be rectangular. Then, someone will ask if a circular or other section will be available, and this will be problematic for "pane-ing" the lattice. And then, Lattice Deformation? requiring gradient selection techniques. And then, discussion might ensue regarding precision, and best practices scale factor of model. And then the question, why doesn't Sketchup have built in selectable scale factors to avoid a lot of tedious side calculation. But that's for another thread. Thank you, again TIG. I take the slow, deliberate approach in my aimless wandering.
Re: [Plugin] Extrude Edges by Rails to LatticeMitcorb
Try EEbyRailsByFace - that lets you preselect a circular [or any-shape] flat-face to use in the 'lattice' section [rails/profiles only], but you must then repeat the mesh with EEbyRails to make the 'pane' skin... This EEbyRailsToLattice tool is limited to pushpulling the faces, so 'square' forms it has to be... TIG
Re: [Plugin] Extrude Edges by Rails to LatticePlaying with numbers can give some funny results
Infinite possiblities ![]() Please, register (free) to access all the attachments on the forums.
Re: [Plugin] Extrude Edges by Rails to LatticeI wish I could express in words what your efforts and generousity to this community means, TIG......
purpose/expression/purpose/....
Re: [Plugin] Extrude Edges by Rails to Lattice
+1 Well said...thanks TIG! "There is a man in the world who will never be turned down... he is the man who delivers the goods."
Re: [Plugin] Extrude Edges by Rails to LatticeHere's a study made with the tool...
Please, register (free) to access all the attachments on the forums. TIG
Re: [Plugin] Extrude Edges by Rails to Latticethis looks really really tasty!
thanks infinitely! gonna have a play now. man ive been waiting for something like this for quite a while! oli
Re: [Plugin] Extrude Edges by Rails to LatticeThe new paracloud modeler by TIG
Re: [Plugin] Extrude Edges by Rails to LatticeHehe, TIG, I also used it to make that same shape last night. It was very easy to do. But I noticed a few things. The extrude by face by rails that I tried first did not ever allow me to have the triangulation. It just cleaned it up automatically, or else never even put it in place - I'm not sure which.
But this lattice one did add the triangulation, but only if I chose to use a 3d shape. If I just did a line, then it never add the triangulation. I wouldn't mind ALWAYS having the option to keep the triangulation. Seriously awesome stuff TIG, keep it up! Chris
Re: [Plugin] Extrude Edges by Rails to Lattice
To get a full mesh that's triangulated use plain 'EEbyRails'. When the mesh done don't smooth it etc. Then you edit the mesh-group and select all, then deselect the edges [there are various tools to do this - I have my own but thomthom's selection-toys works well...]. Delete the faces - now you have the full mesh with triangles make from lines only... The tool 'EEbyRailsToLattice' was written to do a 3D lattice or the profiles/rails rib-lines as simple separated curves - so you can use them for other things - like 'EEbyFace' using different profiles for different parts... TIG
Re: [Plugin] Extrude Edges by Rails to LatticeTig, plugins excellent. Thank you very much for their continued contributions and new ideas.
The plugin works perfect. I use latest version of sketchup in Spanish and windows XP sp3 in Spanish Only I make two suggestions a - You can place the panels and the Mesh into separate layer or different groups? b - could change the names of the *. lingvo, add a number. It is easier to delete files that are not used. example: 01 - extrudeEdgesByLoftEN-US.lingvo 02 - extrudeEdgesByLoftES.lingvo 03 - extrudeEdgesByLoftFA.lingvo 04 - extrudeEdgesByLoftFR.lingvo 05 - extrudeEdgesByLoftZH-CN.lingvo 01 - extrudeEdgesByRailsEN-US.lingvo 02 - extrudeEdgesByRailsES.lingvo 03 - extrudeEdgesByRailsFA.lingvo 04 - extrudeEdgesByRailsFR.lingvo 05 - extrudeEdgesByRailsZH-CN.lingvo
Re: [Plugin] Extrude Edges by Rails to LatticeHi TIG,
Here is the french lingvo file. You're making great progress in french, just several typos were remaining Best regards, Please, register (free) to access all the attachments on the forums. Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F) http://rld.crai.archi.fr/rubylibrarydepot/
Re: [Plugin] Extrude Edges by Rails to LatticeThanks Didier, Pilou also just did one - I'll make a compilation of both...
TIG
Re: [Plugin] Extrude Edges by Rails to LatticeNew zipped set is now available [ viewtopic.php?p=242239#p242239 ], with minor tweaks to text for lingvo files. New ES=Defisto and FR=DidierBur + Pilou. Flat faces at z=0 are now auto-reversed.
TIG
Re: [Plugin] Extrude Edges by Rails to LatticeThe script in the zipped set has been updated...
'Face.offset' is now reworked to be more robust and 'in class' [i.e. now offset.rb is not needed]. Panes now get the 'back_material'. TIG
Re: [Plugin] Extrude Edges by Rails to LatticeTip
You are prompted to erase coplanar edges if the faces can survive without triangulation divisions. To ensure that you get 'flat' quad faces make sure that the profiles and rails are identical [perhaps copy them]. Here is one with the coplanar triangulation left in... This one had them erased before the lattice was made... Please, register (free) to access all the attachments on the forums. TIG
Re: [Plugin] Extrude Edges by Rails to LatticeThat rules now
![]() Please, register (free) to access all the attachments on the forums.
Re: [Plugin] Extrude Edges by Rails to LatticeHere's another form...
Please, register (free) to access all the attachments on the forums. TIG
Re: [Plugin] Extrude Edges by Rails to LatticeAnd another
Please, register (free) to access all the attachments on the forums. TIG
Re: [Plugin] Extrude Edges by Rails to LatticeTreillis 01
Please, register (free) to access all the attachments on the forums.
Re: [Plugin] Extrude Edges by Rails to Latticethis is seriously amazing! been playing with it for hours now! just a question TIG: is there a way to group separately the "glass panes" from the frame? so the frame is one group and the panes are another......
oli
Re: [Plugin] Extrude Edges by Rails to LatticeWow, you did it again!
![]() Welcome to try Thea Render, Thea support | kerkythea.net -team member
Re: [Plugin] Extrude Edges by Rails to Lattice
Give the frames and panes different colors - say 'red' and 'glass'. Edit the group and select a pane. Right-click Context-menu > Select > All with same Material... All the panes are selected, Right-click Context-menu > Group. Repeat for the frames. You now have the original lattice group that contains two sub-groups - one for the panes the other for the frames. Re-color them as desired. One of the reasons I gave a limited 'rainbow' of colors+glass was to avoid long material lists in the dialog which always causes grief when the color you want is off the screen... and as explained above you can always select everything by a material and apply any color/material onto them that you like later on... TIG
Re: [Plugin] Extrude Edges by Rails to LatticeThank you so much Dear Tig for this new amazing tool.
Pretty good tip!
I wanted to tell this one, but I'm outstripped by TIG another interesting result is to adjust the depth to 0 in order to get a flat frame (and use soften & smooth for a simple aspect) ----------------------------------------------------
Extrude Edges by Rails to Lattice + ExtrudeEdgesBy2Faces Extrude Edges by Rails to Lattice + ExtrudeEdgesByEdges Extrude Edges by Rails to Lattice + ExtrudeEdgesByEdges + ExtrudeEdgesByRailsByFace --------------------------------------------------------------- Extrude Edges by Rails to Lattice + Chris Fullmer tools Extrude Edges by Rails to Lattice + Didier Bur "lines to tubes" (with and without EEbRtL) etc.. etc.. Vast possibilities Dear TIG, may I comment ? -Extrude Edges by Rails to Lattice uses only ExtrudeEdgesByEdges. I would be really cool if we would be able to pick curves the same starting from ExtrudeEdgesByLoft and also from ExtrudeEdgesBy2Faces or from ExtrudeEdgesByLathe ! -Do you think it would be possible to select also the diagonal curves family? with my friendly respect, simon. Last edited by simon le bon on Thu May 06, 2010 10:26 am, edited 3 times in total.
71 posts
• Page 1 of 3 • 1, 2, 3
|