[Plugin] Lattice Maker
-
Hi Tig.
When I open double click to open one of my SU files I am getting a Loading error from latticeMaker...
It does not happen if I just open Sketchup by itself - and I think it is only with this one specific file.
Any ideas?
Thanks!
LOADING ERROR:
Error Loading File latticeMaker.rb
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:2: syntax error, unexpected '(', expecting kEND
Copyright 2010 (c), TIG
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:4: syntax error, unexpected tCONSTANT, expecting kEND
...FTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIE...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:5: syntax error, unexpected tCONSTANT, expecting kDO or '{' or '('
WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:5: syntax error, unexpected tCONSTANT, expecting kDO or '{' or '('
WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:10: syntax error, unexpected ':', expecting kEND
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:11: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
...and makes a Lattice, offset by a frames given
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:12: syntax error, unexpected ',', expecting kEND
width and depth, and pane inset, you can also ...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:12: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
...depth, and pane inset, you can also assign limited Materials...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:13: syntax error, unexpected kFOR, expecting kDO or '{' or '('
to the frame/pane for ease of future selection/manipulation.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:14: syntax error, unexpected tIDENTIFIER, expecting kEND
It is similar to EEbyRailsToLattice BUT works on selected Faces...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:16: syntax error, unexpected ':', expecting kEND
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:17: syntax error, unexpected tCONSTANT, expecting kEND
Make a 3D Mesh - perhaps using EEbyRail...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:17: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
...Make a 3D Mesh - perhaps using EEbyRails or other tools - re...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:17: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
...or other tools - remember that
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:18: syntax error, unexpected kNOT, expecting kEND
Faces need not be triangulated if all Edges ...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:19: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
using similar profiles/rails will allow 'quad faces'. You can also
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:20: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
manually draw over faces to sub-divide them as required.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:22: syntax error, unexpected tCONSTANT, expecting kDO or '{' or '('
any Edges etc in the Selection are igno...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:27: syntax error, unexpected tIDENTIFIER, expecting kEND
...e direction away from a Face's
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:28: syntax error, unexpected ',', expecting kEND
'front', so if you want the frames and...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:28: syntax error, unexpected kIN, expecting kEND
...rames and pane to be formed in the other
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:29: syntax error, unexpected tIDENTIFIER, expecting kEND
direction 'Reverse' the Selected Faces beforehand.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:31: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
Run 'Lattice Maker', from the Plugins Menu.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:32: syntax error, unexpected kTHEN, expecting kEND
You are then prompted to chose the 'Lattice Properties':
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:32: syntax error, unexpected ':', expecting kEND
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:33: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
'Width' - default is 50mm/2" - this is the width centered on the
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:33: syntax error, unexpected tSTRING_BEG, expecting kEND
'Width' - default is 50mm/2" - this is the width centered on the
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:34: syntax error, unexpected tIDENTIFIER, expecting kEND
...ely a 100mm/4" 'frame' overall where faces abut.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:35: syntax error, unexpected '['
[if <=0 it defaults]
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:36: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
'Depth' - default is 50mm/2", this is measured 'in' from the face
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:36: syntax error, unexpected tSTRING_BEG, expecting kEND
'Depth' - default is 50mm/2", this is measured 'in' from the face
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:39: syntax error, unexpected tEQ
default is 25.mm/1" [if ==0 there is no 'inset', if <0 it defaults;
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:39: syntax error, unexpected '<'
default is 25.mm/1" [if ==0 there is no 'inset', if <0 it defaults;
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:40: syntax error, unexpected kAND
it can never be more than the depth, and reverts to that if it is].
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:40: syntax error, unexpected ']', expecting kEND
it can never be more than the depth, and reverts to that if it is].
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:41: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
'Pane Thickness' - the thickness of the pane measured inset from the
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:42: syntax error, unexpected tIDENTIFIER, expecting kEND
...0.25" [if ==0 the pane is 'one sided'
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:43: syntax error, unexpected tIDENTIFIER, expecting kEND
(facing 'out'), if <0 it is 'outset', this...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:43: syntax error, unexpected tIDENTIFIER, expecting kEND
...ng 'out'), if <0 it is 'outset', this -ve 'outset' cannot be...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:43: syntax error, unexpected tIDENTIFIER, expecting kEND
... is 'outset', this -ve 'outset' cannot be > the
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:47: syntax error, unexpected tCONSTANT, expecting kEND
'Lattice Material' - default is <Defau...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:47: syntax error, unexpected tCONSTANT, expecting kEND
... - additional choices are 'Red',
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
'Orange', 'Yellow', 'Green', 'Blue', ...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
'Orange', 'Yellow', 'Green', 'Blue', 'Violet', ...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
'Orange', 'Yellow', 'Green', 'Blue', 'Violet', 'Black', ...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
...nge', 'Yellow', 'Green', 'Blue', 'Violet', 'Black', 'White' ...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
...low', 'Green', 'Blue', 'Violet', 'Black', 'White' or 'Gray'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
...een', 'Blue', 'Violet', 'Black', 'White' or 'Gray'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
...ue', 'Violet', 'Black', 'White' or 'Gray'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:48: syntax error, unexpected tCONSTANT, expecting kEND
...et', 'Black', 'White' or 'Gray'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:49: syntax error, unexpected tCONSTANT, expecting kEND
'Pane Material' - default is <None>...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:50: syntax error, unexpected tCONSTANT, expecting kEND
"Glass", 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet',
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:50: syntax error, unexpected tCONSTANT, expecting kEND
"Glass", 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet',
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:50: syntax error, unexpected tCONSTANT, expecting kEND
"Glass", 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet',
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:50: syntax error, unexpected tCONSTANT, expecting kEND
"Glass", 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet',
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:50: syntax error, unexpected tCONSTANT, expecting kEND
"Glass", 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet',
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:50: syntax error, unexpected tCONSTANT, expecting kEND
"Glass", 'Red', 'Orange', 'Yellow', 'Green', 'Blue', 'Violet',
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:51: syntax error, unexpected tCONSTANT, expecting kEND
'Black', 'White', 'Gray'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:51: syntax error, unexpected tCONSTANT, expecting kEND
'Black', 'White', 'Gray'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:51: syntax error, unexpected tCONSTANT, expecting kEND
'Black', 'White', 'Gray'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:53: syntax error, unexpected tIDENTIFIER, expecting kEND
become 'holes' in the final lattice.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:54: syntax error, unexpected tCONSTANT, expecting kEND
***The 'Glass' material will be made if it ...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:54: syntax error, unexpected tIDENTIFIER, expecting kEND
...ial will be made if it doesn't exist - it is colored
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:54: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
...de if it doesn't exist - it is colored
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:55: syntax error, unexpected tIDENTIFIER, expecting kEND
'bluish-light-gray' with 3030200154pacity.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:57: syntax error, unexpected tCONSTANT, expecting kEND
The Faces edges are now offset to suit,...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:57: syntax error, unexpected kTHEN
...s are now offset to suit, then pushpulled to suit and the
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:59: syntax error, unexpected tIDENTIFIER, expecting kEND
...too small to have a 'pane' are made 'solid'.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:60: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
The operation is one-step undo-able.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:62: syntax error, unexpected ':', expecting kEND
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:63: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
Are welcome [by PayPal], please use 'TIGdonations.htm' in the
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:63: syntax error, unexpected kIN, expecting kEND
Are welcome [by PayPal], please use 'TIGdonations.htm' in the
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:64: unknown regexp options - TIGtl
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:66: syntax error, unexpected tCONSTANT, expecting kEND
To Do:
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:70: syntax error, unexpected tINTEGER, expecting kEND
1.0 20100511 First release.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:71: syntax error, unexpected tFLOAT
1.1 20101023 Pane 'thickness' option added.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:71: syntax error, unexpected tIDENTIFIER, expecting kEND
1.1 20101023 Pane 'thickness' option added.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:72: syntax error, unexpected tCONSTANT, expecting kDO or '{' or '('
... EN-US/FR/ES Lingvo files added in ../Plugins/TIG...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:72: syntax error, unexpected kIN, expecting kEND
...US/FR/ES Lingvo files added in ../Plugins/TIGtools/ folder.
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:72: unknown regexp options - TIGtl
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:73: syntax error, unexpected tFLOAT
1.2 20101027 ES lingvo updated by...
^
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:74: syntax error, unexpected '=', expecting kEND
C:/PROGRA~2/Google/GOOGLE~3/Plugins/latticeMaker.rb:137: syntax error, unexpected kDO_BLOCK, expecting kEND
0.upto(verts.length-1) do |i| -
WOW ,I DON'T KNOW HOW TO SAY IT
-
gtalarico
The error is telling me that on line 2 it finds an unexpected '('.
Thereafter all of the code is knacked as it's corrupted...
Because the first several lines are inside a=begin..=end
comment-block Ruby shouldn't even be reading line that at all - let alone give an error!Open the file in Notepad.exe [or equivalent plain-text editor] and see if it starts with =begin Copyright 2010 (c), TIG
???
Have you edited/read the file in word-processor and saved it?
If so then that might have corrupted it.
Try re-downloading the files and replacing it with a virgin copy.
This is a weird error! -
TIG, i really appreciate all your plugins.... THANK U!!!!!
can you or somebody upload a tutorial for this so that i could apply this to my school project???
Thank u n advance......
-
@dhonzie said:
TIG, i really appreciate all your plugins.... THANK U!!!!!
can you or somebody upload a tutorial for this so that i could apply this to my school project???
Thank u n advance......
There are several examples in the thread[s]...
There are some movie tutorials for various plugins in the pipeline, but I can't say when they might be going public... -
hehe... THANK U i am looking forward to watch that video soon..
Thank u again TIG for giving us those plugins.....
hopefully someday all the fuction in 3dsmax would be available in sketchup...thank u again TIG.........
-
@tig said:
@dhonzie said:
TIG, i really appreciate all your plugins.... THANK U!!!!!
can you or somebody upload a tutorial for this so that i could apply this to my school project???
Thank u n advance......
There are several examples in the thread[s]...
There are some movie tutorials for various plugins in the pipeline, but I can't say when they might be going public...I really look forward to these video tuts too, TIG. Always good to see it in action from a pro!!!!
-
Is it possible to delete in one go the original linear path used for lattice making??
-
@arjunmax09 said:
Is it possible to delete in one go the original linear path used for lattice making??
Lattice Maker does NOT leave a linear path - it uses the selected mesh faces to make the 'panes' so the 'path' is consumed ?
EEbyRailsToLattice does leave the Profile and Rail Curves... BUT on completion asks if you want to delete them -on a Yes they go too ??
Please explain yourself differently... -
TIG...I've uploaded images to clear my question
-
Ah! You mean 'coplanar' edges - not easy removed because of the inner face. Because the LatticeMaker is for 3D meshes to Lattices each 'pane' is made separately.
I suggest you get my 'Latticeizer' - that is intended for 2D forms and it does remove the original center-lines if specified. You draw the form and group it, then 'Latticeize' it - you should then get the results you want without center-lines... -
TIG: Please note if is possible to solve my problem: http://forums.sketchucation.com/viewtopic.php?f=323&t=16599&p=316794#p316794
-
Bagatelo
I have replied in the other thread you linked to - I think perhaps you mean Latticeizer NOT LatticeMaker ?
-
I am sorry having traded the place where it I should respond.
Please note the presentation that I have made in the attached file. That's exactly what I need. In some cases, I do not use handles in aluminum bar. I use ordinary handles. So I do not pull over 3cm from top face to bottom. In some cases, I use different spaces for 0.5cm, as requested by the woodworker or architect that I work. Thank you for your attention.
-
Thank you, TIG for all you do.
Although you are in the UK, I still would like to wish you a wonderful Thanksgiving holiday and to all you "Sketchers" out there. I lift my pint of (alcohol-free) nog to you, mates.
Peace
-
I am truly in love with this piece of code!
-
I need it, i want it.
Thank you
-
SOLVED
After more persistent searching of the forums, I have finally found the answer so please ignore my post below.
So simple..the rails and profiles must be identical to produce square "Holes" using Lattice Maker.
Sorry for not finding that before posting..Hello..I have searched the forums but cannot find a solution to my blundering attempts to create this:-
Using EEbyRails and following the instructions (also have tried every combination of those)and then Lattice Maker, the result i always get id this:-
No matter what I try, I cannot create the "Square" holes, only triangular ones.
If I remove the triangular lines prior to using Lattice Maker, the faces disappear making Lattice Maker not function.Any help would be greatly appreciated ..
Thanks.. -
TIG I have a request for this fantastic tool.
I have been using lattice maker on vonoroi tessellations (as you know, thanks again for the help), and since they have irregular shapes the offsets produce crossing edges in some cases.
I have noticed when using Fredo's tools on surface that offsets can be 'simplified' to eliminate the crossing edges. Is there any chance that you could incorporate this feature into lattice maker? That would be fantastic.
Thanks again,
-
Maybe you can use Clean Up by Thomthom ?
Advertisement