[REQ] Plugin Multi-View Elevations
-
Sure... Here's a break down of how it works.
-
Very clever idea!
Ok I think I got it but just in case...
You want to place that decal that have arrows with A, B, C, D and plugin will recognize its position and place camera origin on center of that to capture elevation from there?
This is a Brilliant idea!
-
yes, exactly... 4 elevations or even better if I could choose how many, because this symbol is used with 1,2,3,4 or even more directions. but normally no more than 4.
-
@renderiza said:
Very clever idea!
This is a Brilliant idea!
I can't take credit for it... some guy way back in drafting history came up with it... or maybe his wife.
-
I gotcha...going to my lab an will report to you soon!
-
wrings hands and waits with bated breath...
-
One thing to keep in mind while making this. If the scene order is right it should make a good basis for a standard animation.
I just had fish for dinner, so mine is baited breath.
-
@box said:
One thing to keep in mind while making this. If the scene order is right it should make a good basis for a standard animation.
I just had fish for dinner, so mine is baited breath.
-
Hi,
Any ideas on what will be the name of this plugin?
Cheers!
-
The name of the symbol is an Elevation Marker. Perhaps "MarkerMaker"?
-
The name is important since it will give a hint as to what the plugin do.
"Marker Maker" - Is good
"Elevation Maker" - Maybe good as well?
Anyways no hurry for this but its nice to start exploring ideas.
-
Elevation Maker would be good if you can also make the exterior elevations... which would be an inversion of directions. The same marker is used for exterior parallel elevations.
Easy Elevations?
Interioriza?
Elevation Tools? -
sectionist
-
Multi Elevation Set Point
-
Late to the party...
ElevTag
- 1 direction == outside elev marker...
ElevTag4
- 4 direction == room elev marker...That's what mine is called...
Unpublished for personal use... -
camera samurai
-
You already have something that does this Tig?
-
Maybe TIG already have this but just in case here is some initial progress into making this plugin happen.
The following code is only purpose is to position camera to the center of a group (in this case the marker with arrows). The way the code filters other groups is by name so in this case I am naming the group "Camera".
model = Sketchup.active_model ; sel = model.selection ; ents = model.active_entities ; groups = ents.grep(Sketchup;;Group) groups.each do |e| if e.name == "Camera" boundbox = e.bounds ; @center = boundbox.center ; end ; end ; view = Sketchup.active_model.active_view ; x = @center.x.to_f ; y = @center.y.to_f ; z = 50 ; newEye = Geom;;Point3d.new(x,y,z) ; targetX = 0.0 if !targetX ; targetY = 0.0 if !targetY ; targetZ = 50.0 if !targetZ ; newTarget = Geom;;Point3d.new(targetX,targetY,targetZ) newUp = Geom;;Vector3d.new(0,0,1) newCamera = view.camera newCamera.set(newEye,newTarget,newUp) view.camera = newCamera view.invalidate()
There is still a lot of things to but just want to post some progress code. This is just testing code that you may use with "Ruby Code Editor" to see results.
Cheers!
-
woudn't it be more useful to actually click on the position required? (cheddar walls)
-
@cadfather said:
woudn't it be more useful to actually click on the position required? (cheddar walls)
yes that will be necessary. like 5 or more of these will be needed per plan... and rooms will never be in the same location.
Advertisement