Re: [Plugin] Flatten to Plane v1.2 20101023

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby Dave R » Wed Nov 05, 2014 8:04 pm

You should be installing the curent version of the plugin as well as WorkPlane through the Sketchucation Plugin Store. That way you can be assured of getting the most recent version. And it isn't too late to install WorkPlane.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby TIG » Wed Nov 05, 2014 10:56 pm

Tseifert wrote:Dave R, I installed it through Smustard. I do not believe I downloaded the workplane rd plugin.

Can I still do this?

Thank you.
My current script should only be available through the PluginStore ??
So something is adrift...... :?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby Tseifert » Thu Nov 20, 2014 8:19 pm

Thank you for your replies to this. I noticed that the 2014 version already comes with a flatten option in the right click, 'flatten faces' this is all I really need. Thought it would be nice to take a 3D component from warehouse such as a plant, flatten it on the red or green axis so I can use it in 'Top' camera view, so I can use it like a plant symbol in site plan. I have noticed Sketchup and layout has limited 2D flat plant symbols I can use for Landscape Design.

Thanks,
0

Tseifert 
 

Re: Re: [Plugin] Flatten to Plane v1.2 20101023

Postby LillianBorges » Mon Nov 14, 2016 2:02 am

Thank you so much! I'm an art student, and my specialty is traditional 2D media, but I need to model an object for a required 3D design course. My line work was going everywhere; I couldn't get the lines to all stay in the same plane at all! This was a lifesaver for someone who isn't used to 3D modeling programs.
0

LillianBorges 
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby ittayd » Wed Dec 14, 2016 8:54 am

Trying to use the plugin, I select a work plane and a group and click flatten to plane and I get:
Error: #<NoMethodError: undefined method `transformation' for #<Sketchup::ComponentDefinition:0x0000004f028fb0>>
C:/Users/idror/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/#FlattenToPlane.rb:93:in `activate'
C:/Users/idror/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/#FlattenToPlane.rb:186:in `select_tool'
C:/Users/idror/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/#FlattenToPlane.rb:186:in `flattentoplane'
C:/Users/idror/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/#FlattenToPlane.rb:192:in `block in <top (required)>'
SketchUp:1:in `call'

When I load a simple model everything works
0

ittayd 
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby TIG » Wed Dec 14, 2016 11:43 am

I'll add to the list of things to look at...
It is almost 7 years old !
Did you get/install the latest RBZ from the PluginStore ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby ittayd » Wed Dec 14, 2016 2:23 pm

I used the sketchucation plugin to install
0

ittayd 
 

Re: [Plugin] Flatten to Plane v1.2 20101023: odd result

Postby johnwmcc » Tue Jan 10, 2017 12:50 am

I have a model of a rotating plate with simple pivots and cranks. I've simplified it a bit, manually, into three different planes, and can if necessary use that.

But I wanted to flatten it completely, and tried this plugin for the first time, installed, along with Workplane.rb, today via the Sketchucation plugin.

Here's an image of the simple three-plane model, with pivot pins in 3D.
Untitled.png

Here's the result of running Flatten to Plane:
Screen Shot 2017-01-09 at 23.37.19.png


The elements have all got misaligned.

Here's the simple model itself:
Flatten to plane problem.skp


And here's what I tried originally while it was part of a more complex model:
Door opening plate and cranks.skp


Is this a bug in the plugin used in SU 2017?

When I first tried the plugin on the original component inside a more complex model, I got only an empty group returned.

Is there a workaround? Would it work if I use it in an earlier version of SU make? I have different ones back to SU8 M2.

Seems like a very useful plugin, and I for one would be happy to see it working again, if it does have problems in SU 2017. I'm using it on iMac 5K 27" with AMD Radeon R9 M395 2048 MB graphics.

[EDIT}
I did eventually get the original 3D model to flatten, but it too moved the pieces around relative to each other, including rotating the original round plate back to its original location, rotated back 165 degrees, and way off centre.
0

johnwmcc 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby TIG » Tue Jan 10, 2017 2:23 pm

This tool is 7 years old.
It was reported a few weeks ago that it had issues with v2017.
It's already on the list of things to fix for v2017 compatibility over the next few weeks...

Thanks for the examples and info - I can use those in my testing...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby pritam8888 » Sat Jun 10, 2017 8:03 am

as soon as I installed workplane.rbz my sketchup 2017 crashed.? Had to manually remove it for skp to run. what could be the prob?
0

pritam8888 
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby pritam8888 » Sat Jun 10, 2017 8:05 am

TIG wrote:This tool is 7 years old.
It was reported a few weeks ago that it had issues with v2017.
It's already on the list of things to fix for v2017 compatibility over the next few weeks...

Thanks for the examples and info - I can use those in my testing...




Oh
0

pritam8888 
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby Whitewave » Fri May 07, 2021 4:55 pm

Hi.
Anyone done any work on this yet?
It's May 2021.
I just got this pop up on my brand new subscription to SU Pro 2021:

Error Loading File #FlattenToPlane.rb
Error: #<LoadError: cannot load such file -- #WorkPlane.rb>
C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in `require'
C:/Program Files/SketchUp/SketchUp 2021/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in `require'
C:/Users/jenni/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/#FlattenToPlane.rb:51:in `<top (required)>'


This plugin would be super useful to me.
But, if your life has taken a different turn, I understand.
Bless you and have a good one.
~Ww
0

Whitewave 
 

Re: [Plugin] Flatten to Plane v1.2 20101023

Postby TIG » Sun May 09, 2021 6:05 pm

It has had issues with some newer SketchUp versions, but...
If you read the details in detail...
'Flatten to Plane' needs you to have WorkPlane.rb installed and then a WorkPlane defined - that is how the Flatten tool knows where it is to flatten to...
However, then its functionality is not guaranteed...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: alesco3 and 17 guests

Visit our sponsors: