[Plugin] TIG-Smart_offset
-
Here's v1.9 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
An obscure error in the code when the tool's method called from within another script has been fixed fixed [when the face.parent.entities!=model.active_entities !].
Other users of the toolbar/menu options will find no difference in its operation with this update. -
may be it'd help in bug hunting.
Attachment: inner offset is not correct, no outer offset at all
(values: +-20)
-
looking at your skp and welding part of the segments you'll see different results.
-
@jean-franco said:
looking at your skp and welding part of the segments you'll see different results.
[attachment=0:2t1zi3eq]<!-- ia0 -->TIG-Smart_offset_example.jpg<!-- ia0 -->[/attachment:2t1zi3eq]I exploded those arches and no offset get executed
-
@rv1974 said:
@jean-franco said:
looking at your skp and welding part of the segments you'll see different results.
[attachment=0:3fig2342]<!-- ia0 -->TIG-Smart_offset_example.jpg<!-- ia0 -->[/attachment:3fig2342]I exploded those arches and no offset get executed
Yes, the same behavior for me.
-
I'm investigating...
-
Here's v2.0 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
Just ready for the New YearIt has further refinements and glitch trapping.
The recent reports of malformations were caused by the face having very 'sharp' spikes, which were returning a false negative when testing for their offset vertices for the new outline's points. This is now fixed, but it has meant that the point-on-face 'checking tolerance' has had to be increased to 0.5mm - so it could now fail on a face that has a 'finger' that is narrower than 0.5mm, when measured along adjacent vertices' internal-angle-bisectors - but that is very very unlikely anyway...
-
-
great job, as always TIG. Thank you and Good Year
-
Here's v2.1 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
This version now has the same vertex checking tolerances applied to curves' vertices as to plain edges... [I accidentally missed that code out in the previous version].
Hopefully it now also works with the recent problem offset examples posted: mind you, these are getting somewhat 'extreme'
Feedback please -
TIG
I have been following the updates, and the plugin still has this output with my model. I am not sure this is correct or is a problem.
Thanks for your work.
Ken
-
@unknownuser said:
TIG
I have been following the updates, and the plugin still has this output with my model. I am not sure this is correct or is a problem.
Thanks for your work.
Ken
Ken, I'm curious. If you were to draw that out with paper and pencil, what would you expect that amount of offset to look like?
-
@Ken
That's not right.
The offset is not maintained evenly - it's too near the 'spikes'.I can't get the effect...
However, I do get the outline failing at some point sooner than it ought, when the inward facing 'spikes' get so large they cut through to the other side of the shape...
I looking to see what's up with that...
Outward offsets are also problematical on that shape...
-
@tig said:
Here's v2.1 http://sketchucation.com/forums/viewtopic.php?p=446462#p446462
This version now has the same vertex checking tolerances applied to curves' vertices as to plain edges... [I accidentally missed that code out in the previous version].
Hopefully it now also works with the recent problem offset examples posted: mind you, these are getting somewhat 'extreme'
Feedback pleaseIt starts to look like quest game
Step by step it's getting better.
Inner ofsetting (value:-25) in my last attachment is not 100% correct.
P.S. Thank you
And Happy New Year! -
Maybe you just need to change the name of the plugin to TIG_Random _Shape_Generator.rb.
I also got something similar to your second one, TIG, when I used a larger offset distance.
-
I've got my algorithms in a twist [very painful!]
Trying to unravel the mess...
I'll update asap... -
@dave r said:
@unknownuser said:
TIG
I have been following the updates, and the plugin still has this output with my model. I am not sure this is correct or is a problem.
Thanks for your work.
Ken
Ken, I'm curious. If you were to draw that out with paper and pencil, what would you expect that amount of offset to look like?
Dave
Well I don't know. That is why I questioned, just what is an offset in an earlier post. Like I said, I only use offset to define a distance to place another object. I know that an offset will eventually distort the shape, so I don't use it to make a larger version of the shape.
I just feel that the attached offset is not what I expected. And it may come to past, that after doing an offset, no matter which tool is used, an individual will need to clean up the edges.
A side note, it would be nice if an offset could be made with guidelines, that way I would get my distance, and be able to delete the offset lines later.
Ken
-
@tig said:
@Ken
That's not right.
The offset is not maintained evenly - it's too near the 'spikes'.
.actually, that's pretty close to being right (aside from the whole arc offset business i got into earlier..)
if that arc is a half circle then i offset the same distance as the two top squares are wide then the solution would be this: (the white is inset from the blue shape)
[EDIT] -- i updated the image to include dimensions
-
mardi 01 Janvier 2013
The following was I think a difficult exercise (;-)) but Smart_offset v2.1 20121231 has made the deal about 87% well and quick.
+++simon
-
Happy New Year, Simon...
I am working on an up date that should up the percentage of successful outcomes too
Advertisement