Request for RUBY
-
Hi Guys,
I rarely make requests for Ruby Scripts but have one now.
I wonder would it be possible to make a Ruby that would
show the Line Extensions at 1 pix while at the same time
allowing the Main Construction Line to show as 2,3, etc in
Profile.This is a through-back to my days of manual drafting. I
always extended the line (light pencil) beyond the main
construction line and then blocked in a heavy pencil or
pen / ink.I hope you understand what I'm getting at here. If not
I can post a picture.Thanks for reading.
Mike
-
hi mike,
have you tried the styles in sketchup? i think the styles can mimic the manual drafting style.
-
Hi Dudekracked,
Thanks for the suggestion but what I have in mind is not covered
in Styles.Mike
-
Mike, does this sort of illustrate what you have in mind?
-
That's Spot On Dave I wonder is it possible ?
-
remus: this is not achievable using the styles only, because mike wants to have the profile thick and extension lines thin...
mike: only simple way is to export 2 images (one with profiles, one with extensions) and merge them in photoshop or any other capable raster image editor
-
@a4chitect said:
remus: this is not achievable using the styles only, because mike wants to have the profile thick and extension lines thin...
mike: only simple way is to export 2 images (one with profiles, one with extensions) and merge them in photoshop or any other capable raster image editor
Actually, I did it all in SketchUp. No PhotoShop or other image editor was used.
-
@dave r said:
Actually, I did it all in SketchUp. No PhotoShop or other image editor was used.
Looks like a lot of manual work and hidden stuff to do it. If it can be done manually, it can probably be automated.
Todd
-
Mike, you really need to smile more.
-
Todd, it was really that much work manually but automating it would be a good thing. Doing it for a single scene is really no big deal but to do this for multiple scenes would be tedious at best. I made an image export with Extensions on and Profiles off. Then I switched those settings and created a watermark using the just exported image as an overlay. Here's another example.
The problem is that the white areas in the overlay have a masking effect on the model. Now, if it was possible to export the watermark image as a PNG and make the white areas transparent (is that alpha adjustment?) before making the watermark, this wouldn't be a problem.
As an auotmated thing I could see something along the lines of ADO, exporting images for each scene. Then those images would be imported to make watermark styles that are applied to the associated scenes. Might be a good time to get up for a cuppa.
-
styles->edit->edge->extension
or were you thinking of having it as actual geometry?
edit: re-read your post and see what you mean now.
-
re: "The problem is that the white areas in the overlay have a masking effect on the model. Now, if it was possible to export the watermark image as a PNG and make the white areas transparent (is that alpha adjustment?) before making the watermark, this wouldn't be a problem."
If you use an image editor which has layers, set the layer property to multiply. White is ignored while the lines remain.
-
@jga said:
re: "The problem is that the white areas in the overlay have a masking effect on the model. Now, if it was possible to export the watermark image as a PNG and make the white areas transparent (is that alpha adjustment?) before making the watermark, this wouldn't be a problem."
If you use an image editor which has layers, set the layer property to multiply. White is ignored while the lines remain.
Yes, that can be done manually. The point though is to hopefully automate this with a plugin. I expect the problem with automating it is getting the white to be made transparent since that doesn't seem to be available in SU.
-
@unknownuser said:
Mike, you really need to smile more.
LOL, I'll smile if you organise that Ruby for me
Ah! that my pasport pic about 5 years ago. Yes I do
look stern Must change itDone Todd, is that okay? Looking forward to meeting
you in Mountain View -
Thanks Dave for explaining the Workaround
-
Mike, you don't look a day over 35 when you smile.
-
My pleasure. Better picture, too.
Dave
-
I've got shoes that are older than 35!
-
Must be shopping in the used clothing shops.
Advertisement