Dividing combined shape: line + arc
-
Here's a way to 'draw it' LINK= http://forums.sketchucation.com/viewtopic.php?p=359659#p359659
To use type into the Ruby Console
TIG.equalsegs
- <enter> and in the dialog input the settings for the segment length, radius, number of straight segments and number of segments radially.
A grouped set of lines/clines/cpoints is made at the origin - straight parts to the left and radial parts to the right; you can easily rotate or flip it as needed...
- <enter> and in the dialog input the settings for the segment length, radius, number of straight segments and number of segments radially.
-
@dave r said:
...So, is there a plugin that could take a selected arc and report the central angle?
I don't know of such a plugin although it could be done.
I guess even the entire division could be calculated and put into a plugin.My approach for such a (rare) division is based entirely on SketchUp without plugins. Rare, so probably not worth a plugin.
- select edge and arc (inside a group) -> read total length L -> divide value L by number of segments needed -> gives new segment length.
- draw a line exactly the total length L and divide into decired number of segments.
- use one segment and start building the shape along the (edge+arc)-group
Rotation of subsequent segments towards the existing arc is a bit tricky but the result is quite good.
I think it could even be better starting with an arc that has more or less the same low number of segments as the result. In other words, don't start with 12 segments if the endshape requires only 2 or three to cover the same angle.Does this makes sense?
p.s. (Arc+edge) length is in fact (segments+edge) length.
That's why the arc's number of segments shouldn't be to high but resemble the resulting situation. -
The closest plugin I could find in the candy st--uh Plugins Index was "Angle Between Planes". I thought there was one called simply "Angle Between". Neither of these would seem to do what you describe. And, of course, there are a few arc centerpoint finders.
Yeah, Dave, I was pretty much bumfuzzled at first. But I had to leave the dialog. My day job was calling. When I got back, I found the real hitters had stepped in. -
In addition to my earlier tool here's another - with this one you enter the segment length, the total angle the arc will sweep [in degrees], and the number of segments.
It then calculates the required radius and draws the equal fixed length segments inside a group for you, starting from the origin c/clockwise and marking points etc...
LINK= http://forums.sketchucation.com/viewtopic.php?p=359659#p359659 -
@tig said:
But the curve to bend it around would need to be equally divided up so then you have the form anyway ?
True!
-
TIG, thank you for those plugins. Your first one gives the same result as the method I described using Radial Bend but I think it is a little more straightforward if you know the radius.
-
I'll split them off into a new thread...
-
-
@xrok1 said:
@tig said:
I'll split them off into a new thread...
Link?
The original posts are individually linked to the new 'Plugin' post - or find it here http://forums.sketchucation.com/viewtopic.php?p=359659#p359659
-
Thanks!
Advertisement