[Plugin] Slicer5
-
@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
-
It might be an issue with the size of the object/slices.
Sketchup itself fails to make geometry with very tiny dimensions...
Try scaling the model up by say x100 [tapemeasure tool two points known to be say 10mm apart and type in 1000mm] - answer 'Yes' to rescale everything temporarily] and then make the slices [making sure to multiply the values in its dialog to match the new size [x100]].
You must remember to scale down the model on completion using the reverse steps - tapemeasure something that ought to be 10mm but is now 1000mm and type 10mm... -
Hi tig.
I try to install slicer, but didnt work fine. I'm new at this, im trying to install but couldnt place the first zip, i don't know where exacly it goes.
Thanks.
-
I've installed the ruby window, but it doesnt show anything inside the box, sure I did something wrong, but dont know what exacly.
Could you please give me any recommendation. I really apreciate itThanks
-
I recommend you get some 'help'...
Please look at this post about the 'SketchUcation Plugin Store'
http://sketchucation.com/forums/viewtopic.php?p=467479#p467479
You need to install one tool from an RBZ archive that you need to download... BUT that is clearly explained in the help page [linked from the main-page at the start of the text].
If you can't succeed in doing that simplest of steps then you will come back here...Once that 'SketchUcation Plugin Store' tool is successfully installed, then you can browse through, read about, and then install almost all of the Plugins that are featured in the pages on our forums [including of course 'Slicer5'] - you can use the dialog's Auto-Install feature which removes all of the headaches of installing things manually ...
However, note that there are also some other tutorial/help posts on the forums, which cover installing scripts manually - these might be useful if you find a script from another site that needs a manual installation... -
Hi TIG, thanks again for this great tool.
I'm trying to use slotter after maipulating the slices (unslotted but flattened)
When I select a the entire model, the whole set of flattened x slices, or a particular slice component(group?), I get an error: Selection is not a Slices NNNN group.
How should I select the model or part of the model to get it to perform the slot function? -
Select the assembled set of slices.
It should then be seen as the
If you've exploded it you a screwed, you can edit in situ... -
Tig, could you add 'use current UCS' (incl. start slicer from current 0,0,0)feature? It'd simplify the things a lot.
-
Why not place your slicer solid at 0,0,0; rotated as desired.
I would never slice an object with a wider model, it's not safe !
Work in a specific model containing just that object.
Select copy, new SKP paste ? -
Donno, twisting object sounds sooo counter-productive and unnatural
-
I'm trying to use the slicer tool and keep getting an error message that says "The selected object is NOT a manifold solid". I am trying to slice a part that was made from two lofts that were stitched together. I'm sure that is the problem. How can a make the part a solid?
-
There are several separate threads on making things solid...
You can search for those and read up on the issues...Here a prΓ©cis...
A 'manifold' solid is a group [or component] that contains only geometry [guidelines/points are also permitted as they never interact with other objects, but best avoided].
Geometry is defined as faces and their edges.
So that means...
NO nested groups or component-instances or images [if so explode then into the 'container' group].
NO other objects like text, dims etc.
Every edge must have two faces associated with it.
No fewer and no more.
So that means...
NO faceless ['lone'] edges.
NO edges with one face - e.g. as flaps, shelves, hole-perimeters etc
NO edge with three or more faces - e.g. internal partition faces, where some edges will have three or more faces, and no otherwise-solid-blocks meeting along a shared edge that then has four faces etc.
NO coplanar faces exactly duplicated and 'overlaid' - these are difficult to 'make' manually because such faces usually 'merge', but sometimes faces like can result from complex operations and they can be hard to find without helper tools.***
Faces should also be consistently 'oriented' - with their front-material outwards [although a completely inside-out object will still be consider as a solid if there are no other issues with its geometry].When checking your object ensure that all hidden entities as visible [View > Hidden Geometry ON], and that all layers are switched ON, in case some things that are causing issues would otherwise not be seen.
Sometimes you can have very short bits of lone-edges or tiny holes which stop your object being solid.
These can be hard to find.***Thomthom has made the 'Solid Inspector' tool, which will examine a selected non-solid and highlight problem areas.
These will then need fixing manually, or my 'SolidSolver' tool can try to repair it - although if the object is badly formed with several issues it can fail.
To assist you in a manual repair use a Style that has clear front/back default materials and view in Monochrome mode and 'reverse' selected faces that are 'backwards'.
The Style should also have end-points ON, and distinctly different edge and profile edge thicknesses to help you find flaps and holes.
X-ray mode toggled on/off helps you see whats inside the object - like internal-partitions and overlaid faces
To work inside a form use a section-plane cut and delete unwanted partitions and flaps internally.
In tricky internal areas temporarily hiding or deleting a face so you can gain access to delete things is also an option - but in that case remember to unhide or reform the temporarily removed face [as that itself will case non-solidness].
The 'Entity Info' dialog shows if a selected object is a 'solid' in its 'header' text... If it doesn't say it's a 'solid' then it is not a 'solid' ! -
Yes, the Solid Inspector did the trick. Thank you!
Advertisement