[Plugin] Slicer5
-
@oxer said:
Thanks TIG, I'm going to test the version v5.14.
EDIT: The same error message in the Console Ruby with v5.14
Can you post the SKP or PM it if you like... with details about what you are trying to do [settings etc]...
Have you noted the issues about smallness?
It can also apply to largeness too...
SketchUp/OpenGL can't cope with very tiny or very gigantic geometry and some edges/facets can fail to form... Also have the objects miles from the origin can also cause issues.
Obviously I'd prefer that my tools don't 'fail', but sometimes it's the nature of SketchUp and not my code.
If I can see the issue first hand I can perhaps see if I can trap for such errors better, or at least advise on the best way to model to avoid the issue... -
It's a very simple geometry, a cube and you can see the settings in the image below:
Perhaps there is a conflict with another plugin, i'm going to uninstall other plugins.
-
The following are the usual suspects [messing with base-class/methods ill-advisedly etc]...
SketchyPhysics [current version]
Podium [some earlier version]
SunPosition [all versions]
Matchbox [all versions] -
I have uninstalled all plugins except Slicer.rb and the problem persists, don't worry TIG, i'll use SliceModeler.rb
-
@oxer said:
I have uninstalled all plugins except Slicer.rb and the problem persists, don't worry TIG, I'll use SliceModeler.rb
That's not the point!
Are you using Slicer5 or Slicer - I am confused ?
Can you please PM a copy of the SKP that has the problem, and the settings you are trying to use...
This ought to work without issues ?? -
New Sketch Up user. Having difficulty installing on apple OS X running free Sketch Up 8. Do you have instructions posted anywhere on the steps.
-
So my aim is to use this tool to create corrugated cardboard furniture. The pieces will be cut and glued together. Should the spacing be set to the same as the thickness. Will this slice the pieces so that they lay face to face.
Also, when slicing it is prompting me if I would like to "Add the Outlines of Adjacent Slices ?" What does this mean?
-
Any idea why I am loosing slices? Seems to be doing some odd stuff and loosing data. See the attached photos.
-
@tig said:
Are you using Slicer5 or Slicer - I am confused ?
Can you please PM a copy of the SKP that has the problem, and the settings you are trying to use...
This ought to work without issues ??I have used Slicer always but like the last version don't work for me i use SlicerModeller v1.3 now.
SKP file and settings that i'm using:
SU file and settings.zip
Remember I work on Mac. -
Excuse me, excuse me, excuse me TIG!!!!
The problem were that I haven't installed the font txt_____.ttf
this happens to me for not having read the first post entirely.
Excuse me again TIG. -
@nmballa said:
Any idea why I am loosing slices? Seems to be doing some odd stuff and loosing data. See the attached photos...
If you look where the slices are failing to form it where you have a curved corner. I suspect that you have made a very segmented arc in the extrusion, although even 12 segments at that small size means that the facets forming the curve are very narrow.
As explained in other posts SketchUp open GL has problems working with very tiny edges or facets, as their end points converge in tolerances and are considered equal and therefore no faces form.
This limitation extends from the native-tools into their API Ruby based equivalents.
Slicer uses 'Intersect'. It iterates across 3d space and loops of edges are obtained by intersecting a temporary 'disc' with your selected object at each step. This loop should then form faces which are extruded using PushPull to the desired thickness [other convoluted operations are used to add slots when slicing in two directions, add outlines of one slice on the adjacent slice if they are touching etc, are done as your settings].
IF the slice's loops of edges are incomplete then there is no face available to PushPull, so the slice is either 'empty' or perhaps only partially formed. The missing tiny pieces of the loop are a result of SketchUp's limitations when cutting through the tiny facets on your rounded corners, the Intersection fails to form the tiny lengths of edges and the face can't form.
If you must include these tight rounded-corners then try fewer segments in them.
Alternatively scale your whole model up, slice [using suitably adjusted settings] then scale down.
A simple 'trick' if you are working in 'cm' is to draw a line 100cm long in the model, then set your Model Info > Units to 'meters', without a units prefix and 0.0 accuracy etc.
Use the Tapemeasure tool to pick the start/end points of the 1m line, the VCB says 1.0, you type in 100 + <enter> and answer Yes to rescale the whole model.
Now do your Slicing, set the values in the dialogs as if they were 'cm' [they are actually in meters but as there are no units shown, who cares?]
The slices form and because the object's facets that are getting sliced are now 100 times larger there should now be no issues with missing faces etc.
When you are done slicing, and before exporting etc, change your Model Info > Units back to 'cm' and repeat the Tapemeasure trick, this time the VCB says 10000, type in 100.
the model scales down back to its original size. Tiny edges/facets can survive, it's just their creation that has difficulties... Now when you export the slices' sizes should be as expected and they should all have been perfectly made... -
@oxer said:
Excuse me, excuse me, excuse me TIG!!!!
The problem were that I haven't installed the font txt_____.ttf
this happens to me for not having read the first post entirely.
Excuse me again TIG.
OK, I never thought of that omission !
On a PC if you don't have that TXT ttf font then the last used font is automatically used by 3dtext anyway, but on a MAC it just crashes out unexpectedly. The TXT 'stick' font is the best for CNC engraving of the slices references [important on complex slicing to keep track of the pieces], because this font is as near to a single stroke in 3dText as we can get.
TXT is one of the oldest AutoCAD fonts, made for use in really old pen-plotters - this is the TTF version of their even older SHX shape font [because SUp needs TTF for its 3dText]...Anyway... I hope it's now working OK for you...
-
@tig said:
@nmballa said:
Any idea why I am loosing slices? Seems to be doing some odd stuff and loosing data. See the attached photos...
If you look where the slices are failing to form it where you have a curved corner. I suspect that you have made a very segmented arc in the extrusion, although even 12 segments at that small size means that the facets forming the curve are very narrow.
As explained in other posts SketchUp open GL has problems working with very tiny edges or facets, as their end points converge in tolerances and are considered equal and therefore no faces form.
This limitation extends from the native-tools into their API Ruby based equivalents.
Slicer uses 'Intersect'. It iterates across 3d space and loops of edges are obtained by intersecting a temporary 'disc' with your selected object at each step. This loop should then form faces which are extruded using PushPull to the desired thickness [other convoluted operations are used to add slots when slicing in two directions, add outlines of one slice on the adjacent slice if they are touching etc, are done as your settings].
IF the slice's loops of edges are incomplete then there is no face available to PushPull, so the slice is either 'empty' or perhaps only partially formed. The missing tiny pieces of the loop are a result of SketchUp's limitations when cutting through the tiny facets on your rounded corners, the Intersection fails to form the tiny lengths of edges and the face can't form.
If you must include these tight rounded-corners then try fewer segments in them.
Alternatively scale your whole model up, slice [using suitably adjusted settings] then scale down.
A simple 'trick' if you are working in 'cm' is to draw a line 100cm long in the model, then set your Model Info > Units to 'meters', without a units prefix and 0.0 accuracy etc.
Use the Tapemeasure tool to pick the start/end points of the 1m line, the VCB says 1.0, you type in 100 + <enter> and answer Yes to rescale the whole model.
Now do your Slicing, set the values in the dialogs as if they were 'cm' [they are actually in meters but as there are no units shown, who cares?]
The slices form and because the object's facets that are getting sliced are now 100 times larger there should now be no issues with missing faces etc.
When you are done slicing, and before exporting etc, change your Model Info > Units back to 'cm' and repeat the Tapemeasure trick, this time the VCB says 10000, type in 100.
the model scales down back to its original size. Tiny edges/facets can survive, it's just their creation that has difficulties... Now when you export the slices' sizes should be as expected and they should all have been perfectly made...Hmmm... Having issues with defining the value of the segments in the arc. You are correct, it is defaulted to 12. Not sure how to change it. Will try scaling and report back.
-
And now on to my next issue. I am trying to slice this file down to 1/4 inch or even 1/8 inch. Seems its just too much processing and the program locks up. Running processor 1.86 GHz Intel Core 2 Duo, 4 GB of Ram. It only seems to happen in the Y axis. Z is not an issue. Thoughts?
-
In the Y axis you are slicing down a round edge.
Which has issues...
In the other [Z] direction you are perhaps cutting across them ?
If the screen goes white and says it's 'unresponsive', it does NOT mean it's broken, just that it's taking a lot of brain-power to do its tasks...
Have patience...
If the 'Task Manager' shows SketchUp is still working away then let it try to finish...
Go have your dinner and come back - then cancel it IF it seems stuck.
Often a little patience will let a long running process complete successfully. -
Hello, (TIG),
I am new to SketchUp and only found it because I was looking into slicer programs for use with my lasercutter, and cnc router machine. Just a quick note to say a big THANK YOU Tig.. in advance, for all your hard work with this. Also, allowing me and others the opportunity to try (for free) your product. So far, I have only looked and tried what others have done, and have yet to slice some of my own simple object designs. Now I note a "donate" button at the beginning of this thread. I would just like to quickly clarify that I should use this button to donate funds directly to yourself (TIG). I would be very happy to donate an initial $50. I hope others have done same or better? If I can get your software to easily help create a product that sells, more than happy to make further donations. I currently do 2D slice-modelling CAD (with coreldraw) manually based on my own manual calculations. I'm also working on "two perspective silhouettes", this is where, from two 90 degree viewing angles of an object, you see two completely different silhouette scenes. Anyway, Thanks again, be in touch. -
Hi TIG
Brilliant plugin. My only problem is I am not getting references shown in the resultant flattened slices? Have installed txt_.ttf into (Win7) Windows > Font folder. Is this where the plugin will look for reference fonts?
-
@argo said:
Hi TIG
Brilliant plugin. My only problem is I am not getting references shown in the resultant flattened slices? Have installed txt_.ttf into (Win7) Windows > Font folder. Is this where the plugin will look for reference fonts?
Duh! moment on my part
I was not zooming in enough to see the text -
Perhaps you need to set the text-height to be larger in the tool's dialog
Or invest in some new spectacles -
Hello
I've got a technical question I'd like help with if possible.
I've installed v5 and have used it to slice models using the dual axis, but I'm having difficulty using the R and A axis.
When selecting A axis, SU seems to run through the steps, showed on the status bar, but once finished, the original model disappears, along with the RGB/XYZ axis, and when I click zoom extents, nothing shows up. Clicking on undo and then re-zooming shows the original model before the slicer has run.
Selecting R axis simply doesn't do anything. The dialogue box closes and SU reverts back to the select tool with no alteration to the model.
In both these cases I have been trying to slice a simple cylinder 200x200, with no additional features used on it. It is located with the centre on the Z axis, and to the best of my knowledge is a viable component, as it works fine when slicing in one and two axis modes.
Thanks for your assistance
Advertisement