SketchUcation Plugin Store

 

 

[Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby Pilou » Fri Nov 13, 2009 2:06 pm

Cool! :enlight:
Does your plug can generate roof from surface like this? (1001bits don't ;)
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10060
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] Flatten and Extrude (1.0.1) — 10 November 2009

Postby thomthom » Fri Nov 13, 2009 2:22 pm

Pilou wrote:Cool! :enlight:
Does your plug can generate roof from surface like this? (1001bits don't ;)

No, not from just a flat face. You need edges defining the shape and height of the roof. The starting geometry is a bunch of wireframe edges of the building, where the layer of the edges defines their role.
RoofBuilder.png
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17642
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby Pilou » Fri Nov 13, 2009 2:32 pm

My surface was "Flat" on the ground ;)
Just with some flat round arc lines
So your plug manage only straight lines?

Or I missunderstand : you must have first roofs or these are calculated?
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10060
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] Flatten and Extrude (1.0.1) — 10 November 2009

Postby thomthom » Fri Nov 13, 2009 2:41 pm

Pilou wrote:My surface was "Flat" on the ground ;)
Just with some flat round arc lines
So your plug manage only straight lines?

It shouldn't matter if they are curves. But observe the edges in my screenshot. They are above the ground level. And you also need to specify the layer the edges are on.

Also - note that I've not released the version that generates the roofs yet. Screenshot was only a teaser.

But what I'm trying to explain is that it won't make a roof from a flat surface. You need the wireframe of 3D lines.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17642
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby TIG » Fri Nov 13, 2009 2:45 pm

I think he means a bit like my manual method for making an even 3D roof from a 2D plan [ viewtopic.php?p=200498#p200498 ], BUT you'll just tell this tool which are the ridges by picking them, plus entering a ridge height or one slope's angle... and it automatically does the rest for you ?
If you have drawn all of these lines in 3D then you could simply use 'make-faces' on them to generate the roof without doing anything else and messing on with layers etc ?
TIG
User avatar
TIG
Global Moderator
 
Posts: 13992
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby thomthom » Fri Nov 13, 2009 2:53 pm

TIG wrote:If you have drawn all of these lines in 3D then you could simply use 'make-faces' on them to generate the roof without doing anything else and messing on with layers etc ?

That's the thing - the edges are not clean planar edges that you draw yourself. It's from CAD plans done by mapping companies. The examples I have shown in the screenshot are particular clean and neat geometry, often it's much worse than that. And I often get these plans where there a hundreds or even in the thousands of buildings on the plan. Doing that manually is horrible boring work.
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17642
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby TIG » Fri Nov 13, 2009 5:41 pm

If they are already a set of co-vertexed 3D edges for each roof then why not use 'make-faces' on them all to make the roof ? They are layered so easy to select... I'm not clear to me why you need extra tools for this.
I can see that a tool to convert a 2D plan to a 3D roof might have uses for unequal roof slopes etc...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13992
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby thomthom » Fri Nov 13, 2009 6:25 pm

TIG wrote:If they are already a set of co-vertexed 3D edges for each roof then why not use 'make-faces' on them all to make the roof ? They are layered so easy to select... I'm not clear to me why you need extra tools for this.
I can see that a tool to convert a 2D plan to a 3D roof might have uses for unequal roof slopes etc...

Because often they aren't connected. You just have a non-planar loop making up the building boundary with an edge hovering in free space above it to indicate the roof pitch.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17642
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby utiler » Sat Nov 14, 2009 12:41 am

Pilou wrote:Cool! :enlight:
Does your plug can generate roof from surface like this? (1001bits don't ;)



Yes, it does, Pilou....
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1928
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby TIG » Sat Nov 14, 2009 1:19 pm

utiler wrote:
Pilou wrote:Cool! :enlight:
Does your plug can generate roof from surface like this? (1001bits don't ;)



Yes, it does, Pilou....

My 'Roof Tools' will make a roof from a surface like that... IF it's possible - but it is quite possible to have a plan form that can't take an equally pitched roof - so then it fails - a tool like the one mentioned in this thread could allow you to define the 'plan form' of the roof and make it from that, varying the slopes to suit...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13992
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby Pilou » Sat Nov 14, 2009 1:46 pm

Yes, it does, Pilou....

I don't believe ;)
Plug can't finish calculation :o
too_complex.jpg


Result must be something like this
result.jpg
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10060
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] Flatten and Extrude (1.0.1) — 10 November 2009

Postby TIG » Sat Nov 14, 2009 6:12 pm

Pilou

Here's a Tutorial on using my Roof Tool with Odd Shaped Plans that could never have a single pitch hipped roof without some manual intervention !

viewtopic.php?p=200836#p200836
TIG
User avatar
TIG
Global Moderator
 
Posts: 13992
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby Pilou » Sat Nov 14, 2009 7:07 pm

Funny it's exactly my model :enlight:
I will study that with attention :geek:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10060
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] Flatten and Extrude (1.0.1) — 10 November 2009

Postby Junglejonas » Mon Jan 11, 2010 7:25 am

(Yes, I know. The settings isn't persistent. Will see if I can get around for a quick update for that later. Until then - modify line 120 yourself.)
Flatten-Extrude.png


I think I'm missing an important step... neither flatten nor flatten + extrude works for me. I've tried it on a 37 and 97 meg file, follwing your instructions exactly. I'm not sure what I'm supposed to enter into the layer filter though. The layers I need to include are called "S-BLDG and S-TRAILER", they are all by default under Layer0... I tried separating them with the pipe/vertical line and everything with no avail. And where is line 120? Please help... this would save me HOURS!

With that said, I think you are doing a great thing with this tool! I'm an architecture student and this cuts some serious time and I can't wait for your roof app... although I have to say that most topo-scans are much "dirtier" than what you have. Mine don't even have any indication of where gables would/could be...

Props and Thanks!
(Sketchup 6.0515)
Junglejonas
 
Posts: 1
Joined: Mon Jan 11, 2010 4:54 am
Name: Jonas

Re: [Plugin] Flatten and Extrude (1.0.1) — 10 November 2009

Postby thomthom » Mon Jan 11, 2010 11:23 am

Junglejonas wrote:(Sketchup 6.0515)

I have no idea if this plugin works on SU that old. You could PM me your file and I could have a look at it though. This plugin is still a Work In Progress.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17642
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need Authorised SketchUp Training by experts in various disciplines? Check out our Training details.

Ad Machine
Robot
 
Posts: 2012

Previous

Return to Plugins

cron

Who is online

Users browsing this forum: chrisanthy, dcbCreative, salvatore and 11 guests