[Plugin] Cutting Windows script
-
SO BASICALLY..
- only one component has to be selected.... yes.
- must be a component instance... which means ????
- the component is not glued to a face... yes this is also satisfied..
still nothin in the context menu.... or am i missing something from the code????
ive never in my life even tried to read a code.. please forgive my ignorance!!! -
Hi Jenujacob,
Please post the SKP so I can test what's happening. Maybe this has something to do with the model settings, 'cause you're doing everything right. -
well theres nothing special in this skp though... its just has a standard "window" component from the architecture library placed in empty space as told in the PDF tutorial u provided..
Untitled.skpi am also attaching a jpg showing the plugin placement.. just in case...
-
Didier, thanks a'lot!
It works! I just use componets from my collection and sketchup libraries(with glue allways)...so i play with glue function in comp-t's options(turn on any, sloped and ect...then back to none) and wall-cutting options appear in context-menu...slow response that component was ungluedOhhh....we can put comp-ts at wall and ect. then manupulate with detail cutting
Thanks! Happy New Year!
-
Thanks ilay7k for tracking bugs...
Patched on 12.31.07 13:40 PM (GMT+2)
Didn't work with components that had a behavior not to glue to anything.
Now works with every kind of component.
Happy new year !
-
@didier bur said:
Thanks ilay7k for tracking bugs...
Patched on 12.31.07 13:40 PM (GMT+2)
Didn't work with components that had a behavior not to glue to anything.
Now works with every kind of component.
Happy new year !
It lives...works!
Thanks!
future of 2008
+dynammic any!! -
this is awesome!!! thanks didier!!!
happy new year!!! -
Didier:
Many thanks for what I hope becomes another great tool. I ran into the attached problem at startup of SU after installing your new ruby.I am on a Mac, OSX 10.4.11 with a PPC chip. I will check on my Intel Mac tomorrow after I get back to work.
All the best.
Karl
-
Hi,
Kmead: I've PM'ed you an updated script. Tell me if it works.
Cheers, -
Thank you for your generosity.
-
@kmead said:
Didier:
Many thanks for what I hope becomes another great tool. I ran into the attached problem at startup of SU after installing your new ruby.I am on a Mac, OSX 10.4.11 with a PPC chip. I will check on my Intel Mac tomorrow after I get back to work.
All the best.
Karl
Hi Didier, it happens the same with me... How can I solve this?
tkx
-
@ Amadex: look at the top of this topic, I've released a Mac version.
Tell me if it's OK. -
Didier
I also tried your "mac version. I also get an "error" report.
Could you help ?See error report in attachment
Thanks
Gerd
-
Just to let you know that the Mac version works fine here.
The whole thing is a 3 step process;
- define as cutting window
- put it on a wall
- right-click window and select "Cut wall from window" then parameters.
Also works on several windows at a time.
Many well deserved thanks to the author !
-
Hi
I tried to add this plugin to SUv8 Pro & got this message:
Error Loading File cutting_windows.rb
(eval):719: compile error
(eval):610: syntax error, unexpected ',', expecting kEND
faces_and_heights[0].pushpull (faces_and_heights[1]), false
^Error Loading File yaml.rb
no such file to load -- dateDoes anyone have an idea what is going on ?
Thanks in advance folks, -
Perhaps it's time to look up my 'HolePunchTool' [ http://forums.sketchucation.com/viewtopic.php?p=271170#p271170 ] which does a similar job BUT has far more bells and whistles - and works relatively seamlessly and has had few error reports...
-
TIG, yes, thanks, actually I have been trying to use your tool, but sadly it doesn't work for some unknown reason... I followed the instructions which seem pretty clear & can't get it to work
I have made a component that glues to "any" & has cut opening checked but when i try & use it (ie it is in place on a face of a 'wall' & i r-click & choose punch ) I get this message 'no suitable punching component selected, exiting'... maybe i have just not understood the procedure
-
... sorry i pressed the submit button too fast...
Thanks for any guidance..best
-
Your cutting component is not made properly its axes are the wrong way round.
It's clear from the Component's thumbnail in the Component Browser which is looking at the 'top' of it and not the 'front', as it should for any 'cutting' door/window/etc
When you make any 'cutting component' it must either be made 'flat' on the ground or already on a face.
If it's made on a face Sketchup assumes you want it to be 'cutting' and it sorts out the axes for you. Otherwise make it so that its z/blue axis will be facing square out of any face you might subsequently place it on.
A cutting component's axes look different from a standard component as there's a blue 'X' added to it
Then when you place your properly made cutting component on a face it should cut a hole in that face - so any transparent or open areas will be 'see-through' - if the wall has two faces you'll see the back-face of the other side.
If you then use my HolePunchTool on the component it punches through the inner face too, adding linked reveals etc...
Here's your component fixed and a version punched...
Compare it with the original...hole punch test [fixed].skp -
ok, sorry, just tried for myself & got it finally sorted...
thanks for your help TIG
Advertisement