SketchUcation Premium Membership

 

 

[Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012

[Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012

Postby pgarmyn » Tue May 08, 2012 8:52 pm

Hallo everybody, here is my second (public) plugin.
The plugin gives me an other way of making plans. Especially in those cases where a 3d model is complete. Shadows in Sketchup plans are not very natural. The sun enters by the cutted part of the model. This way of making the section preserves the realistic shadows:
SectionByCam-anim-20120506-txt.GIF


In this file, the image has been combined with vector-drawing (Powerdraft):
Plan-exempleSbyC.jpg


It works also on Mac. Thanks Peter (pbacot) for testing.

For the SketchupTeam : realistic shadows in sections (plan en vertical section) is in my wish list.



Copyright
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Name : SectionByCamera
Version: V0.2-2012.06.04-2113
Author : pgarmyn
Type : Tool

Description :
This tool places the camera in (near) the sectionplan. The parallel view will section the model (without section cuts active). But the SHADOWS of the entire model will be displayed (if section cuts are switched off). This will produce a plan or section view with realistic shadow information.
The camera-position is saved in a new scene called "SectByCam"
The generated camera should also work with those renderers :
- Twilight : OK
- Kerkythea, with Twilight exporter
- SU2KT from Tomasz : The camera is moved, outside the model : Doesn't work.
- Maxwell : shadows not correct, shadows of 'ceilings' are missing. Thanks Peter (pbacot) for testing .

Installation :
- unzip and copy the unique file into the plugins directory

Usage :
- select a section plan
- in the context menu : select 'Section by camera' > '.... automatic'
or 'Section by camera' > '.... define camera distance'
- switch off the 'section planes' and 'section cuts' (Menu : View >> Section...)

Known issues:
The image rendered on the screen is cutted some centimeters before the camera. The distance between this 'cut' and the camera depends of the dimensions of the model. The tools estimates this distance (in '.... automatic'; distance proposed in '.... define camera distance'), if necessary, it can be adapted in the second option.
If the applied value is to small, the SectionPlane won't be visible after activating the tool. This is also true for faces generated by plugins like SectionCutFace (TIG) or realSection (GWydouw).
SOLUTION : apply a greater distance in '.... define camera distance'

History:
First version V0.1-2012.05.06-1938
2nd version V0.2-2012.06.04-2059 : Correction for certain non horizontal sections (thanks vidy for reporting the bug)
IMPORTANT : erase the older version if installed (= file SectionByCam-20120506-1939.rb) :!:
Please, register (free) to access all the attachments on the forums.
Last edited by pgarmyn on Mon Jun 04, 2012 8:43 pm, edited 4 times in total.
pgarmyn
 
Posts: 11
Joined: Sat Jan 08, 2011 3:29 pm

Re: [Plugin] SectionByCamera

Postby Pixero » Wed May 09, 2012 9:55 am

Thanks, this looks very useful.
User avatar
Pixero
Premium Member
Premium Member
 
Posts: 1284
Joined: Wed Nov 14, 2007 2:58 pm
Location: Halmstad, Sweden
Name: Jan Sandström
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionByCamera

Postby CadFather » Thu May 10, 2012 9:20 pm

Many thanks pgarmyn.. this is a really good plugin - i was asked this in a recent class and it was not an easy answer.. :thumb:
Quarr-IT - SketchUp Training from the Master.. . ;) .
User avatar
CadFather
 
Posts: 788
Joined: Fri Nov 16, 2007 11:03 am
Location: London, Milano, Sicily
Name: Max Coppoletta

Re: [Plugin] SectionByCamera

Postby Pilou » Thu May 10, 2012 10:42 pm

Very neat result! :enlight:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10027
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] SectionByCamera

Postby pbacot » Thu May 10, 2012 11:50 pm

this looks like a good one. Works in Mac.

But with Maxwell Fire the result is not correct. The wall shadows are there but the ceiling shadows and ceiling are not. View is not section. Needs more tries to figure out--sort of a half way result.

Thank you very much for sharing this! :thumb:
Last edited by pbacot on Fri May 11, 2012 4:30 pm, edited 1 time in total.
User avatar
pbacot
Top SketchUcator
 
Posts: 2702
Joined: Sun Jul 20, 2008 7:26 pm
Location: Sonoma
Name: pbacot
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] SectionByCamera

Postby haynesc » Fri May 11, 2012 2:01 pm

Can I see a video explaining how this works please?
haynesc
 
Posts: 170
Joined: Tue Jul 22, 2008 9:17 am
Location: London, England, UK
Name: haynesc

Re: [Plugin] SectionByCamera

Postby Phil Rader, AIA » Mon May 14, 2012 4:35 am

thanks I'll give it a whirl
Phil Rader, AIA
Premium Member
Premium Member
 
Posts: 477
Joined: Tue Nov 13, 2007 10:30 am
Location: Minneapolis, Minnesota
Name: Phil Rader, AIA

Re: [Plugin] SectionByCamera

Postby mirale999 » Mon May 28, 2012 1:48 am

great plugin~! :berserk: I just wanted this function a few days, for my works to display better~
paranoia is a higher form of awareness...
mirale999
 
Posts: 24
Joined: Wed Oct 28, 2009 4:14 pm

Re: [Plugin] SectionByCamera

Postby vidy » Sun Jun 03, 2012 1:04 am

Dear pgarmyn,

thanks for this plug-in, its really good, but i try to do it on section elevation, but it seems won't generate the scene, is it only just for plan view??

thanks,
vd
still so much to learn..
vidy
 
Posts: 133
Joined: Tue Apr 01, 2008 4:58 am
Location: Indonesia
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] SectionByCamera

Postby pgarmyn » Sun Jun 03, 2012 9:57 pm

vidy wrote:Dear pgarmyn,

thanks for this plug-in, its really good, but i try to do it on section elevation, but it seems won't generate the scene, is it only just for plan view??

thanks,
vd

It should work in any direction. What happens? What's your system? What is your Sketchup version?
pgarmyn
 
Posts: 11
Joined: Sat Jan 08, 2011 3:29 pm

Re: [Plugin] SectionByCamera

Postby vidy » Mon Jun 04, 2012 2:21 am

Im working with Win XP SP 2, and Google Sketchup Pro 8 M3,
it just working fine whenever im doing it at plan view (it generated the scene tab)
but when i was try to do sectionbycamera on elevation, it seems don't have any reaction.. (not generated a scene tab)

thanks,
vd
still so much to learn..
vidy
 
Posts: 133
Joined: Tue Apr 01, 2008 4:58 am
Location: Indonesia
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] SectionByCamera

Postby pgarmyn » Mon Jun 04, 2012 12:33 pm

vidy wrote:Im working with Win XP SP 2, and Google Sketchup Pro 8 M3,
it just working fine whenever im doing it at plan view (it generated the scene tab)
but when i was try to do sectionbycamera on elevation, it seems don't have any reaction.. (not generated a scene tab)

thanks,
vd


OK.
I found out that a section parallel to the red-blue axises doesn't work.
I will fix that. Thanks for testing vidy. ;)
pgarmyn
 
Posts: 11
Joined: Sat Jan 08, 2011 3:29 pm

Re: [Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012

Postby pgarmyn » Mon Jun 04, 2012 8:53 pm

:sketchstatic: This PLUGIN has been UPDATED : :sketchstatic:
Look at the top of this page.
IMPORTANT : erase the older version if installed (= file SectionByCam-20120506-1939.rb)
pgarmyn
 
Posts: 11
Joined: Sat Jan 08, 2011 3:29 pm

Re: [Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012

Postby vidy » Tue Jun 05, 2012 2:29 am

Tested it... and it works like charm :berserk:
thank you pgarmyn for the update..

regards,
vd
still so much to learn..
vidy
 
Posts: 133
Joined: Tue Apr 01, 2008 4:58 am
Location: Indonesia
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012

Postby methade » Tue Jun 05, 2012 7:49 am

This is my first post. And thank you for this great plugin. Its very very useful for me... Kind regards.
methade
 
Posts: 2
Joined: Tue Nov 02, 2010 12:42 pm
Name: sami

Re: [Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012

Postby methade » Tue Jun 05, 2012 8:57 am

Me again. I am testing the plugin but having difficulties with renderer maxwell fire. It seems its not working. Any help?. Thanks.
methade
 
Posts: 2
Joined: Tue Nov 02, 2010 12:42 pm
Name: sami

Re: [Plugin] SectionByCamera (V0.2) - UPDATED 4 June 2012

Postby pgarmyn » Tue Jun 12, 2012 7:10 am

methade wrote:Me again. I am testing the plugin but having difficulties with renderer maxwell fire. It seems its not working. Any help?. Thanks.


Can't help that. Pbacot had the same experience (see above). I menshioned it in the description.
pgarmyn
 
Posts: 11
Joined: Sat Jan 08, 2011 3:29 pm

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Vertex Tools for SketchUp. Take control over each vertex with this vertex editor for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: kaan75a, layanrgh and 12 guests