Circles ignore turn off auto break =false
-
After issuing the command Sketchup.break_edges=false I noticed lines will still break when crossing the line of a circle (but remain whole while crossing a straight line). I expected the line of the circle to remain whole.
FWIW, it would be awfully nice of google to put a break_edges (on | off) into the preferences page so it can be turned off ONCE per version instead of every session.
-
Make a file in Plugins called say
breakedgesoff.rb
and add just these lines of code to it
require 'sketchup.rb' Sketchup.break_edges=false
Thereafter whenever Sketchup starts 'breaking edges' will be set to be 'off'.
Type thisSketchup.break_edges=true
into the Ruby Console at any time to switch it back on for that SKP/session only...PS: having breaking edges 'off' on my PC does NOT result in any edges or curves intersecting/breaking when drawn over each other - e.g. a line drawn across a circle in the same plane remains intact... unless you then select it and use intersect with model when it breaks at any intersections...
-
@tig said:
PS: having breaking edges 'off' on my PC does NOT result in any edges or curves intersecting/breaking when drawn over each other - e.g. a line drawn across a circle in the same plane remains intact... unless you then select it and use intersect with model when it breaks at any intersections...
It alwaysbreaks for me, no matter what. See below:
![step 1: issue ruby command
step 2 draw a circle
step 3 draw a line across the edge of the circleNote break.](/uploads/imported_attachments/jImL_Clipboard00.jpg "step 1: issue ruby command
step 2 draw a circle
step 3 draw a line across the edge of the circleNote break.")
-
OK, further testing.
Irrespective of the 'beak-edges' settings... an edge drawn from within a circle that passes through a segments' vertex of that circle will break in two. BUT if 'break-edges' is set to 'false' the new edge will NOT break IF it crosses a segment anywhere other than at a vertex ! -
@tig said:
OK, further testing.
Irrespective of the 'beak-edges' settings... an edge drawn from within a circle that passes through a segments' vertex of that circle will break in two. BUT if 'break-edges' is set to 'false' the new edge will NOT break IF it crosses a segment anywhere other than at a vertex !And that's a problem for me and a bug for Google to fix.
What I'm doing is setting up a follow me along an arc. The arc length is always in whole degrees and the segments of the extrusion must also be whole degrees. Now at first thought you might say "So what's the problem with breaking the line then?" and while that's a fair question the answer is this: The follow me extrusion along an arc begins and ends by twisting the profile face -- the edges closest to the centerpoint of the arc twist outwards so the total length along the arc is long and those furthest from the center point twist inward and so are too short. I have to fix both ends to get the correct dimensions. IMO a very serious bug. On the extruded end I extrude for a greater length than needed and then go back and trim the excess. The broken lines across the arc is where the trim is going to be. Back at the profile face I have to set it up so the face has depth behind it and I use the end points of the two sides to figure out how to fix that end.
The entire set of manual fixes are: The extrusion has 20 faces so that's... umm, what... 22 lines to fix where the face starts... the broken line across the arc... setting up a face along the broken line to use for the intersect... drawing another line further along the arc than needed so the extrusion goes past the intersect face... doing the intersect selected for the extrusion and the trim face... and all cleanup of the stuff I entered but no longer need. Can you say STUPID MAKE WORK SOFTWARE? I can.
I'd complain bitterly to Google if I was using the pro software but as I'm not I deal with it as best I can.
Advertisement