[Plugin] Slicer5
-
@guanjin said:
Hello TIG: plug-in menu bar, the ability to fold? Thank you
[attachment=0:2u7rviwa]<!-- ia0 -->QQ截图20120120162611.jpg<!-- ia0 -->[/attachment:2u7rviwa]
I assume by 'fold' you mean 'combine into a single submenu'. [Do you use Google Translate?]
To make that you'll need to recode the menu making part of the script.
Here is how to do it.
the original code [around line#669] looks like this:UI.menu("Plugins").add_item(cmd) UI.menu("Plugins").add_item(cmds) UI.menu("Plugins").add_item(cmda) UI.menu("Plugins").add_item(cmdx)
This is it recoded with an extra line to make the submenu within the 'Plugins' menu; and the other four lines adjusted to add their commands into that rather than directly into the 'Plugins' menu:
submenu=UI.menu("Plugins").add_submenu(S5+"...") submenu.add_item(cmd) submenu.add_item(cmds) submenu.add_item(cmda) submenu.add_item(cmdx)
The 'S5' constant is the deBabelized string for 'Slicer5', used as the name for the submenu plus '...'.
If users would prefer this method I could incorporate it into a new release.
So feedback please... -
@tig said:
@guanjin said:
Hello TIG: plug-in menu bar, the ability to fold? Thank you
[attachment=0:7wcsfm32]<!-- ia0 -->QQ截图20120120162611.jpg<!-- ia0 -->[/attachment:7wcsfm32]
I assume by 'fold' you mean 'combine into a single submenu'. [Do you use Google Translate?]
To make that you'll need to recode the menu making part of the script.
Here is how to do it.
the original code [around line#669] looks like this:UI.menu("Plugins").add_item(cmd) > UI.menu("Plugins").add_item(cmds) > UI.menu("Plugins").add_item(cmda) > UI.menu("Plugins").add_item(cmdx)
This is it recoded with an extra line to make the submenu within the 'Plugins' menu; and the other four lines adjusted to add their commands into that rather than directly into the 'Plugins' menu:
submenu=UI.menu("Plugins").add_submenu(S5+"...") > submenu.add_item(cmd) > submenu.add_item(cmds) > submenu.add_item(cmda) > submenu.add_item(cmdx)
The 'S5' 'constant is the deBabelized string for 'Slicer5', used as the name for the submenu plus '...'.
If users would prefer this method I could incorporate it into a new release.
So feedback please...This can shorten the length of plug-ins drop-down menu!
-
Thank you TIG
-
Want to smooth the edges the better!!
-
The more facets that the sliced object has the smoother the edges of the slices...
-
Guanjin
Could you post your Chinese lingvo file [zipped] for other fellow users to benefit from - it's only fair - the rest of the tool is freely shared... -
Here's v5.12 http://forums.sketchucation.com/viewtopic.php?p=374969#p374969
Extra traps added for 'non-instances' within slice-collections [e.g. when slotting after editing].
Code CONSTANTS added for optional menu-location/single-submenu.
The lingvo files are now all UFT-8 encoded, to avoid problems when copying.
Typos in the FR lingvo file corrected, the correct PT Portuguese lingvo is now included. -
Yes, I posted on there?
-
massively awesome !
-
Thanks to Guanjin here's the Chinese lingvo file.
Unzip it and put it into theTIG-Slicer
subfolder in thePlugins
folder...TIG-SlicerZH-CN-lingvo.zip
It will be included in the zipped package, with future updates too... -
Here's v5.13 http://forums.sketchucation.com/viewtopic.php?p=374969#p374969
The latest Chinese lingvo file is now included in the set.
The RZ solutions have been improved: now less prone to error with complex shapes made when the ORIGIN is within the bounding-box of the sliced-object: useful when making horizontal Z[blue] slotted-ribs with R[amber] radially arranged slotted-spars in the vertical [rotate the slice-object onto its 'nose', if you want to transpose the rib/spar arrangements]... -
TIG, this is not a plugin that I would use often but it is soooo neat I can't help playing with it!!!
Cheers!!
-
@tig said:
Here's v5.13 http://forums.sketchucation.com/viewtopic.php?p=374969#p374969
The latest Chinese lingvo file is now included in the set.
The RZ solutions have been improved: now less prone to error with complex shapes made when the ORIGIN is within the bounding-box of the sliced-object: useful when making horizontal Z[blue] slotted-ribs with R[amber] radially arranged slotted-spars in the vertical [rotate the slice-object onto its 'nose', if you want to transpose the rib/spar arrangements]...[attachment=0:spns2k8l]<!-- ia0 -->s5-13.PNG<!-- ia0 -->[/attachment:spns2k8l]TIG: very kind of you! Update so fast!
-
XXXXX?
Thank you Sir. -
I am using v5.11. I have been getting a variety of results when trying to slice really complicated geometry. I will slice and get a full crash complete with bug splat error report, sometimes it will look like it has finished but there will only be text in the very far distance, sometimes it will slice and "grey out" with xyz lines no longer visible. I did try making the object bigger x 10 and that seemed to help a lot. Thanks again! I'm working with a laser cutter, and this is really amazing!
-
Without seeing the sliced-object I can't say... is there something more complex in one direction that another ?
Are you doing slotting as well as slicing in one step?
If you omit the slotting what happens ?
It you use Slotter later on the set what happens etc etc ??If you make fewer slices [increased thickness/spacing] what happens ?
Very complex slicing will take time, especially when slotted...
Can you post a screenshot or two ?
-
@erinbanwell said:
currently experiencing a bugsplat when I try to make a x,y slice, but just x or just y works fine and takes about 3 mins to process. what do you think TIG?
I use normal, too much may cause you to slice, long time! Try a small model, sliced
-
As said, slicing large models takes a long time... think before you slice...
-
currently experiencing a bugsplat when I try to make a x,y slice, but just x or just y works fine and takes about 3 mins to process. what do you think TIG?
I also am experiencing an error where the model will suddenly dissappear leaving only the x,y,z red,blue, green lines. The slicer plugin seems to be finished at this point. If I try to use the orbit tool, the x,y,z lines will disappear too. If i close the window at this point it will ask me if I want to save the file. If I save the file, and reopen it, it stays in the exact same state: No model, no xyz reference lines, and none of the tools work. I have tried this probably about 50-60 times. If I leave it alone completely, it never finishes on it's own. My last try was over 12 hours. Any help? I could post the file if that helps. Thanks again. -
Because of this... TIG what do you think about adding a counter or a countdown to your code: Sketchup.status_text=@msg+"Slicing..." + counter
Advertisement