[Plugin] RichSection V0.5.8 UPDATED march 2015  Topic is solved

Re: [Plugin] RichSection [Demo]

Postby micione » Tue Nov 19, 2013 11:49 pm

pgarmyn,

"offset.rb" is used by other tools of Rick Wilson (eg "windowizer").
What happens:
Your tool applies the first section, then it stops, stuck.
Any attempt to use the "move tool" on the section, it causes BugSplat.

Only by removing "offset.rb" your tool starts working again.
In order to identify the conflict, must be eliminated (one by one) all installed plugins. And this is what I did.
I hope I was helpful.

P.S. perhaps seek the advice of Rick Wilson?
0
User avatar
micione 
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Wed Nov 20, 2013 12:16 am

micione wrote:pgarmyn,

"offset.rb" is used by other tools of Rick Wilson (eg "windowizer").....

Thanks
I will test it out. Tomorrow
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby TIG » Wed Nov 20, 2013 10:56 am

The issue might be that offset.rb [ill advisedly] adds a new method to Array.offset(distance)* this clashes with the Point3d.offset(vector, distance) because an Array of three values [x,y,z] can be offset just as it it were a Point3d, but the native method is expecting a Vector3d [or an Array of three [xv,yv,zv]] and an optional second argument of a distance that overrides the vector's length...

*In my copy of offset.rb I have renamed it as offsetArray(dist) to avoid the clash [it's never used anyway!].

So to avoid clashes with the offset.rb method Array.offset() never use .offset() on point that is expressed as an Array - make that array into a Point3d before the offset is applied, then the clash is avoided.
So it should be
point=Geom::Point3d.new(0,1,2) [or ...new([0,1,2])]
then
point.offset(vector)
or in one step
Geom::Point3d.new([0,1,2]).offset(vector)
BUT NEVER
[0,1,2].offset(vector)
or
pt=[1,2,3]
pt.offset(vector)


:roll:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] RichSection [Demo]

Postby gbing » Wed Nov 20, 2013 12:48 pm

Amazing!!
This plugin cover one of the CAD missing function in sketchup.
Now I need to check it in layout.

Thank you pgarmyn!
0

gbing 
Premium Member
Premium Member
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Wed Nov 20, 2013 7:49 pm

TIG wrote:The issue might be that offset.rb [ill advisedly] adds a new method to Array.offset(distance)* this clashes ...


Thanks TIG and micione, for the analysis :thumb:

Anyway, I don't think Array.offset is the reason for the incompatibility. As I said, no method in my plugin uses offset.

I just installed Windowizer-3 (W3) beside RichSection (RS) in SU8.
In this version of Windowizer there is no def offset(dist) for class Array.
I confirm Bugsplat when combining both plugins. When using RS or W3,
But after uninstalling RS (also the files), I have also have Bugsplats in W3 for complex models (many nested groups).


Bugsplat in RS (combined with W3) takes always place at the end, after a commit operation,

TO BE CONTINUED....
0
Last edited by pgarmyn on Thu Nov 21, 2013 7:49 am, edited 1 time in total.

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby Elibjr » Wed Nov 20, 2013 11:08 pm

Wow, this is a amazing! This is starting to make Sketchup look more like a CAD modeler! Well done. I-Render Nxt also renders section cuts similar to Indigo. I will also try this with this and Layout later!
0
User avatar
Elibjr 
Premium Member
Premium Member
 

Re: [Plugin] RichSection [Demo]

Postby ArCAD-UK » Fri Nov 22, 2013 2:01 am

Impressed so far :thumb:

Feedback:

Why create two scenes? I appreciate they are different but do you really need two when the change is simply a toggle of the section plane?

RICHSECTION NAME is strange when using custom names e.g. the resulting names aren't as expected

It might be useful to have a simple continuous line in the Projection line styles.
0

ArCAD-UK 
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Fri Nov 22, 2013 8:02 am

ArCAD-UK wrote:Impressed so far :thumb:

Feedback:.....


Why create two scenes? The first scene is for editing: The camera is not saved, the sectionplan is visible. The second scene (name+p : for parallel view) is for those who really use it (directly) in layout: camera saved, sectionplan not visible. But i can put some swiches in the RichSection settings.

RICHSECTION NAME is strange ...... Dont understand. Is it the 'p' at the end?

It might be useful to have a simple continuous line.... : In what case? Exemple?

Thanks for your interest. ;)
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby ArCAD-UK » Fri Nov 22, 2013 11:53 am

pgarmyn wrote:RICHSECTION NAME is strange ...... Dont understand. Is it the 'p' at the end?

Last night my first section entry [XL01] was replaced with [XL0001] today everything seems ok :? I may have used "undo" and messed things up.

There is a lot going on when creating an RS, can I do a complete undo with 1 click?

pgarmyn wrote:It might be useful to have a simple continuous line.... : In what case? Exemple?
I was thinking in LO I might want to explode the scene and apply a different line style but I now see that RichSections don't display in vector mode. :(
0

ArCAD-UK 
 

Re: [Plugin] RichSection [Demo]

Postby jolran » Fri Nov 22, 2013 11:57 am

I was thinking in LO I might want to explode the scene and apply a different line style but I now see that RichSections don't display in vector mode. :(


You do know that you can do this in Hatchfaces ? If you want real edges as hatches from section slice that is.
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby ArCAD-UK » Fri Nov 22, 2013 12:22 pm

jolran wrote:You do know that you can do this in Hatchfaces ? If you want real edges as hatches from section slice that is.

I will have a look at that thanks! I'm not a fan of raster hatching...
0

ArCAD-UK 
 

Re: [Plugin] RichSection [Demo]

Postby jolran » Fri Nov 22, 2013 12:33 pm

Check out the help files, if that does not work for you, you can PM me and fire the questions. Or if you rather post a question in Hatchafaces topic thats fine too.
0
User avatar
jolran 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Fri Nov 22, 2013 1:42 pm

ArCAD-UK wrote:Last night my first section entry [XL01] was replaced with [XL0001] today everything seems ok :? I may have used "undo" and messed things up.

There is a lot going on when creating an RS, can I do a complete undo with 1 click?

I was thinking in LO I might want to explode the scene and apply a different line style but I now see that RichSections don't display in vector mode. (


Undo : I can't undo scenes and styles loaded (from file). The SU API for Ruby has no functions to create them from scratch. I have to load them from a file. No way, at my knowledge, to include this in the undo DB (within start and commit_operation).

Controle vector output (with color and line style) to Layout : I can only dream of it. ;)
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Windowizer 3 : not a stable plugin

Postby pgarmyn » Sat Nov 23, 2013 4:54 pm

Hi TIG, micione and others...

As I said before (see 'TO BE CONTINUED'), I loaded the free version (Windowizer3, W3) and did some testing.
As the Bugsplat takes place after a commit_operation in the RichSection plugin (without 'other' errors), I tried to find the conflict in the W3 code.
I didn't find anything directly in common with the RichSection plugin, but I found these anomalies:
  • def getMaterials is a root method declared twice : once in windowizer,rb, once in getMaterials.rb; Even if the 'require getMaterials,rb' is comment out; the file is automatically loaded because it is directly in the Sketchup/plugins
  • The following classes are extended : Array, Sketchup::Face, Sketchup::Entity; Sketchup::ArcCurve; Sketchup::Curve
  • many Global variables
  • the global variable $wName is once a string [=Wdw.new.to_s.slice(6..14)] and later an empty class object [=Wdw.new]
…..
I tried to clean up the code for testing, but I can't see the end of it.

As there is nothing specificly in common with RS (I mean : in common with RS but not with other plugins), I cleaned up the plugin directory and installed only Windowizer3 + Fredo's RoundCorner

It works fine for a (very) small model.
But for more a more complex models (50 identical component-instances: in total (nested) about 9500 edges, 3300 faces), I had directly a Bug-splat when creating round corners around one face within the component.
I uninstalled Windowizer3 (the files) and did the same manipulation : Eventing worked fine.
I think that the plugins of Fredo are a reference for the Sketchup community.

CONCLUSION : Windowizer 3 is not a stable plugin. I didn't spent my money to test the payed version ….

Windowizer is not distributed on Sketchucation, but maybee it is important to tell people that it causes Bugsplats in other plugins.
0
Last edited by pgarmyn on Sat Nov 23, 2013 6:52 pm, edited 1 time in total.

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Sat Nov 23, 2013 6:51 pm

If someone want's to pay for my RichSection [Demo] plugin :
They sell (correction) USE it already in China: :roflmao: :roflmao:

http://www.sublog.net/archives/47883

I can't explain much in chinese, so i added an other video (above). :lol:
0
Last edited by pgarmyn on Mon Nov 25, 2013 12:39 pm, edited 2 times in total.

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby ladcwei » Sun Nov 24, 2013 3:20 pm

I am waiting for this plugin for five years,then I could handle whole design with Su &layout completely today!Thanks a lot!
It's another plugin for sections:
http://www.sublog.net/?s=realsection
it could assign diffferent materials to different grounps,maybe it could give some useful ideas...
I am chinese,you can download this plugin on http://www.sublog.net for free,needn't to pay,this site show all the resourse here,it's a good guide! :D
0
User avatar
ladcwei 
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Sun Nov 24, 2013 5:00 pm

ladcwei wrote:....http://www.sublog.net/?s=realsection
it could assign diffferent materials to different grounps,maybe it could give some useful ideas...


Hallo ladcwei

You can also assign different materials in the RichSection plugin: by layer, by nature (color) or a combination.
It's much faster than assigning materials to individual elements, but you will have to organize your model and use different layers to assign different section-materials.

I know realSection (GWD), there is also SectionCutface (TIG), and other good plugins.
Each plugin is different. I wanted to offer projection.
So what were you waiting for during 5 years ? :?: :?:

Thanks for the interest.
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Sun Nov 24, 2013 11:46 pm

I added two new videos.
In the last video, I produced a plan with SKETCHUP + RichSection + LAYOUT:

See video and attached PDF file (RichSection-demo-04.PDF) in the first post.
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby pilou » Mon Nov 25, 2013 1:19 am

Absolutly astonishing! :fro:
(tested in V8)

Another plugin who makes bugsplatsh :wxSU.rb !!!

Does it posible to delete these dotted lines in the free space ?
( i have not yet explore the plugin! :oops:

Ps Why you don't say on the first post that the UI of Rich Section is working automatically also in French? :enlight:

rich2.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Mon Nov 25, 2013 8:09 am

deleted double message
0
Last edited by pgarmyn on Mon Nov 25, 2013 12:23 pm, edited 1 time in total.

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Mon Nov 25, 2013 8:19 am

pgarmyn wrote:
Pilou wrote:Absolutly astonishing! :fro:
(tested in V8)

Another plugin who makes bugsplatsh :wxSU.rb !!!

Does it posible to delete these dotted lines in the free space ?
( i have not yet explore the plugin! :oops:

Ps Why you don't say on the first post that the UI of Rich Section is working automatically also in French? :enlight:

rich2.jpg


Bonjour Pilou. Quel honneur :!:

Pour enlever ces lignes, il suffit d'éteindre 'PROJECTION'. (La section calculera aussi beaucoup plus vite).
Dans les dessins technique (architecture), la projection représente les éléments au-dessus du plan de projection.
On peut aussi limiter la projection (par distance, calques). Une démonstration (distance de projection limitée) est faite dans video #03.

Je vais ajouter : Si la version de SU est française, elle chargera RichSection en français..


For the rest of the world:

To take away those pointed lines, just switch off 'PROJECT'. (The section will also calculate faster).
In technical drawings (architecture), 'projection' represents the elements above the section-plane.
You can also controle wich elements are projected (by distance, layers). This is demonstrated (with projection limited by distance) in video #03.

For people with a french SU, the program will load a french RichSection dictionary.
For the rest of the world: are there traductors on this forum?
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Mon Nov 25, 2013 8:26 am

For more important (big, complex) drawings. It is worth to use SU 2013. MUCH MUCH faster :!: :!: :!:
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby pilou » Mon Nov 25, 2013 9:24 am

Excellent! :fro: :thumb: :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] RichSection [Demo]

Postby emerald15 » Mon Nov 25, 2013 4:00 pm

Thank you. I've just completed a more than usually complex drawing that required cross sections. I use RichSection to great effect. I really like all the additional optional colours, line types & infills.
1
User avatar
emerald15 
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Tue Nov 26, 2013 9:58 pm

emerald15 wrote:Thank you. I've just completed a more than usually complex drawing that required cross sections. I use RichSection to great effect. I really like all the additional optional colours, line types & infills.

May we see the result :?: 8-)
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby ivreich » Wed Nov 27, 2013 5:28 am

YES :D the 2nd video is showing that :D
Use RichSection materials 'by layer' or 'by nature' or a combination.
Every RichSection can also have different section materials, by using a different 'prefix'
:D


Hey there..

I've managed to figure out how to create different hatch patterns for objects on different layers, but I can't seem to create different hatch patterns for objects with different materials. It always goes back to the default pattern?

Also, I don't quite understand the options for the richsection material - what is the difference between "prefix+layername, prefix+materialname, default" and "prefix+materialname, prefix+layername, default"?

As I mentioned, I just can't seem to get material names to work in defining different hatch patterns...please help!

Thanks...
Joel
0

ivreich 
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Wed Nov 27, 2013 8:05 am

ivreich wrote:..... I don't quite understand the options for the richsection material - what is the difference between "prefix+layername, prefix+materialname, default" and "prefix+materialname, prefix+layername, default"?
...please help!

Thanks...
Joel


Hi Joel

Supposing
  • Model : you used layers L1 and L2
  • Model : you applied the following materials to groups and components : N1 and N2
First possibility :
  • Model : existing materials in library 'in model' : #L1.... / NOT existing materials : #L2
  • RS-options : prefix = #
  • RS-options : default material = #default
  • RS-options : section material = prefix+layername, default
  • RS section materials for a group or component in layer L1 : #L1
  • RS section materials for a group or component in layer L2 : #default (because #L2 doesn't exist)
2nd possibility :
  • Model : existing materials in library 'in model' : #N1.... / NOT existing materials : #N2
  • RS-options : prefix = #
  • RS-options : default material = #default
  • RS-options : section material = prefix+materialname, default
  • RS section materials for a group or component with material N1 assignd: #N1
  • RS section materials for a group or component with material N2 assignd: #default (because #N2 doesn't exist)

Got it :?: :D
0
Last edited by pgarmyn on Wed Nov 27, 2013 7:25 pm, edited 2 times in total.

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby ladcwei » Wed Nov 27, 2013 5:44 pm

I think it could make good effect more safely ;)
1
User avatar
ladcwei 
 

Re: [Plugin] RichSection [Demo]

Postby pgarmyn » Thu Nov 28, 2013 8:01 am

ladcwei wrote:I think it could make good effect more safely ;)


:thumb: :thumb: :thumb: :thumb:
It seems to be a very complex model :!: :!: :!:
What kind of building is it ? With a giant bell at the center ?
Maybee the bell needs some thickness. You can do this with the Joint PushPull plugin from Fredo.

Thanks for sharing your experiance.
0

pgarmyn 
PluginStore Author
PluginStore Author
 

Re: [Plugin] RichSection [Demo]

Postby sexypox69 » Thu Nov 28, 2013 3:58 pm

Cant get it to work like in the videos....it just works as sketchup native section cut, also sketchup crashed a few times (bugsplat)....but i love the intention. It would save me the time to go put in hatches in my layout documents
0

sexypox69 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: allen0901, Bing [Bot], DONGKUN KIM , erkan911, jongster16 and 15 guests

Visit our sponsors: