SketchUcation Premium Membership

 

 

[Plugin] Antiprism v1.1 20101114

[Plugin] Antiprism v1.1 20101114

Postby TIG » Sat Nov 13, 2010 5:13 pm

(c) TIG 2010
Permission to use, copy, modify, and distribute this software for
any purpose and without fee is hereby granted, provided that the above
copyright notice appear in all copies.
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.


antiprism.rb >>> Plugins Folder


Usage:
Tool to make an 'Antiprism'.
Type into Ruby Console:
antiprism number_of_sides, length_of_a_side
e.g. antiprism(3, 1.m)
It is grouped and made centered at the origin.
It is named 'Antiprism[3x1.000]'.
Height is calculated so its side-triangle edges equal its side length.


Donations:
by PayPal to info @ revitrev.org


Version:
1.0 20101113 First Release.
1.1 20101114 PI glitch fixed.

attachment=0]antiprism.rb[/attachment]
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
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] Antiprism v1.0 20101113

Postby Pilou » Sat Nov 13, 2010 5:35 pm

Maybe more speedy than my speedy method :mrgreen:
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] Antiprism v1.0 20101113

Postby TIG » Sat Nov 13, 2010 5:48 pm

Here are some examples:
antiprisms3-12.PNG
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
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] Antiprism v1.0 20101113

Postby Pilou » Sat Nov 13, 2010 5:50 pm

At the endless infiny, it's a cylinder ;)
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] Antiprism v1.0 20101113

Postby TIG » Sat Nov 13, 2010 5:52 pm

Pilou wrote:At the infinity, it's a cylinder ;)

It is...
although a cylinder as a 'prism' has thin rectangular faces
and an antiprism 'cylinder' has triangular faces... :geek:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
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] Antiprism v1.0 20101113

Postby Pilou » Sat Nov 13, 2010 6:05 pm

And a real cylinder has just one curvated surface in the world of Nurbs ;)
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] Antiprism v1.0 20101113

Postby TIG » Sat Nov 13, 2010 6:07 pm

Pilou wrote:And a real cylinder has just one curvated surface in the world of Nurbs ;)

In Sketchup it has a 'Surface' too but that consists of 'Faces' with smoothed 'Edges' between them!
A 'cheat' ;)
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
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] Antiprism v1.0 20101113

Postby TIG » Sat Nov 13, 2010 7:06 pm

I've made the matching 'Prism' tool here viewtopic.php?p=287169#p287169
So that you can now make 'prisms' AND 'antiprisms', with any number of sides and size length.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
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] Antiprism v1.0 20101113

Postby sketchup_roolz » Sun Nov 14, 2010 5:39 pm

I'm dumb! Works great! :)
sketchup_roolz
 
Posts: 17
Joined: Mon Jul 19, 2010 1:36 am

Re: [Plugin] Antiprism v1.1 20101114

Postby TIG » Sun Nov 14, 2010 5:46 pm

Here's v1.1 viewtopic.php?p=287140#p287140
It fixes a rare potential 'PI' glitch if you don't have certain other scripts installed...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
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] Antiprism v1.1 20101114

Postby sketchup_roolz » Sun Nov 14, 2010 5:47 pm

TIG wrote:Here's v1.1 viewtopic.php?p=287140#p287140
It fixes a rare potential 'PI' glitch if you don't have certain other scripts installed...

Thanks!
sketchup_roolz
 
Posts: 17
Joined: Mon Jul 19, 2010 1:36 am

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012



 

Return to Plugins

Who is online

Users browsing this forum: bravoddb, Dave R, flashzs, gregpettigrew, Heritrix Crawler, john 5of6 and 3 guests