[Plugin] projectEditor_dj v1.8.SU.2013-14

[Plugin] projectEditor_dj v1.8.SU.2013-14

Postby dukejazz » Mon Jul 23, 2012 2:56 pm

projectEditor_dj v1.8.SU.2013-14
Copyright march 1, 2014
DukeJazz: via James Cochran

ProjectEditor_dj: ( This editor platform sets up accurate sizes and precision placements for 2d and 3D printing projects or laying out virual scene arrangements )

1) Another_Sketchup_dj (move clipboard objects from parent to child and back
2) Another_Sketchup_Plus_dj ( selection or all duplicator, group, un-group, make centers, program loader + more
3) scaleGroupFloat_dj ( scale, cumulative-scaler, alignment mover, undo tools
4) ZoomZoom_dj (zoom select tools)
5) Plugins_loader_dj (shows and hides my toolbars)
6) Tips_dj ( my personal tips to working with plug-in )

One button toolbar plug-in loader for all my plugins files
hide all=off
pic_0025.jpg

show=projectEditor_dj= all on
pic_0022.jpg

History:
march 1 2014 projectEditor_dj v1.8.SU.2013-14
-fix table errors
-add .rbz endings 2014

June 18, 2013; projectEditor_dj v1.7 make 2013.m1
-new scaleGroupFloat_dj full inputbox format
-new selectAll fix
-fix icons
-fixes for make 2013 m1
-set module to LibAnotherScalePlusDJ
-changed to self.method
-move varaibles table to DJ_lib folder,
-djAnotherLib_dj.rb thus DJ::LibAnotherScalePlusDJ.variables_dj
-deleted two folder hidden and unhidden

April 18, 2013; projectEditor_dj v1.6.5 bata
add the scaleGroupFloat_dj v1.6.5
-add cumulativeScaler_dj rotation around

Feb 4, 2013; projectEditor_dj v1.6.1 bata
-change to a toogle tool bar
Feb 4, 2013 anotherSketchup_dj_loader v1.6
- add Slect all, delete and paste in place
Feb 4, 2013; scaleGroupFloat_dj v1.6 bata
-add cumulativeScaler_dj move around (a step boxpoint)
-add cumulativeScaler_dj size lenear stepper
-add cumulativeScaler_dj move lenear stepper
-fixes

2012, July 23 - release date

download:
March 1, 2014; projectEditor_dj v1.8.SU.2013-14
projectEditor_dj ver1.8 .rbz

June 18, 2013; projectEditor_dj v1.7 make 2013.m1 bata 6,7,8,2013
projectEditor_dj v1.7.zip

April 18, 2013; projectEditor_dj v1.65 bata
dj_plugins v1.65.zip

Feb 4, 2013; projectEditor_dj v1.6 bata
projectEditor_dj v1.6.1 .zip
0
Last edited by dukejazz on Sat Mar 01, 2014 2:51 pm, edited 31 times in total.
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.1 Bata 2012, July 25

Postby dukejazz » Wed Jul 25, 2012 5:53 pm

How to work ea tool (WIP)

1) scaleGroupFloat_dj Ver 1.3.0 viewtopic.php?f=323&t=45254
pic_0055.jpg

2) Another_Sketchup v1.5 viewtopic.php?f=323&t=42219
pic_0058.jpg

3) Another Sketchup Plus Ver.1.5 Bata viewtopic.php?f=323&t=42951
pic_0057.jpg
0
Last edited by dukejazz on Wed Aug 01, 2012 8:41 am, edited 2 times in total.
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.2 Bata 2012, July 25

Postby dukejazz » Tue Jul 31, 2012 12:19 pm

moveSize2Target_dj
pic_0076.jpg


Makes a target point from a selected object and them it will moves or resizes other objects to that target point.
0
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.3 Bata 2012, Aug 3

Postby dukejazz » Fri Aug 03, 2012 12:38 pm

Update
dj_plugins V1.3.Zip
History:
Aug 3, 2012 ver 1.3
-add one new tool moveSize2Target_dj
-repacked the toolbars 2ea
0
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.4 Bata 2012, Sep 24

Postby dukejazz » Mon Sep 24, 2012 12:22 pm

sep 16 2012


update - plugins_dj v1.4 = projectEditor_dj v1.1


update - scaleGroupFloat_dj Ver 1.5 :berserk: Big changes here
bbox to local axes readout
also method to aline to orgin axes


update - moveSize2Target_dj Ver 1.1


update - another Sketchup v1.5.1


update - repeatUndoTool_dj v1.2.1


update - drawBoxPoint_dj.rb v 1.1
0
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.4 Bata 2012, Sep 24

Postby thomthom » Mon Sep 24, 2012 12:29 pm

"Bata" = "Beta"? :?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] dj_plugins v1.4 Bata 2012, Sep 24

Postby dukejazz » Mon Sep 24, 2012 1:09 pm

Always room for improvements

Changes I would like to make:

Is there a way to turn off undos function in a ruby program?

A better inputbox with object and mouse usage to drawing model without closing inputbox?

Make scaling to a local axes?

Add rotation memory to target to move to a rotation?

Add more plugins.

Bata Bata work yes :thumb:
0
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.4 Bata 2012, Sep 24

Postby thomthom » Mon Sep 24, 2012 1:17 pm

dukejazz wrote:Is there a way to turn off undos function in a ruby program?

No. You cannot turn off Undo. You can make them transparent - but it's not quite the same and it's very easy for things to go wrong.


Btw, you have a lot of global methods and variables. I recommend you wrap your plugins in a separate namespace - otherwise you have a potential for clashing with other plugins and each methods in the global namespace end up in every other object in Ruby.
Detailed explanation: http://www.thomthom.net/thoughts/2012/0 ... velopment/
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] dj_plugins v1.4 Bata 2012, Sep 24

Postby dukejazz » Mon Sep 24, 2012 1:48 pm

A neat way maybe for me to output a save name.skp then import the name.skp file back after a count of undos for my program block of execution.

May fast undos is stable as is but it uses the clipboard, I would not like to do this because good data maybe over ridden at some time.
0
Last edited by dukejazz on Mon Sep 24, 2012 2:13 pm, edited 1 time in total.
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.4 Bata 2012, Sep 24

Postby thomthom » Mon Sep 24, 2012 1:52 pm

dukejazz wrote:A neat way maybe for me to output a save name.skp then import the name.skp file back after a count of undos for my program block of execution.

? What are you trying to do then?


You are aware you can group operation, right? With model.start_operation and model.commit_operation.
https://developers.google.com/sketchup/ ... _operation
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] dj_plugins v1.4 Bata 2012, Sep 24

Postby dukejazz » Mon Sep 24, 2012 3:23 pm

Thank you, for the lead I will try this.

Also all my @varaibles are @dj_name @dj_ you say may varible names maybe to small and use by someone else I thought @H or @@u were global varibles and my initial values @dj_ were not? I can't run my rubies meathods def by another ruby, without sending my own initial values with them. I can go down the heap but not out. I been working with ruby for 6 mo. no classes! so i dont know a whole lot so thank you for your helping head up.
0
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.5.1 Dec 8 2012 updates

Postby dukejazz » Sat Dec 08, 2012 8:11 pm

Dec 8, 2012

update to five of my plugins

------------------------------------------------------------

- fix Clipboard undo's, is now a one step process
- fix My def are now wrap up as _scaleGroupFloat_dj
- fix var are now wrap up to djscaleGroupFloat_x[][]
- I recoded some of my varibies table to fix some of my rubies programs
========================================================================

Fix the undo's problems by pairing these statements

Sketchup.active_model.start_operation "dj_Group",true,true,true
copy_group = Sketchup.active_model.active_entities.add_group(@djScaleGroupFloat_sents)

Sketchup.active_model.start_operation "dj_Group",true,true,true
copy_group.explode

Then at the end of the program

Sketchup.active_model.commit_operation
-----------------------------------------------------------------
global namespace - Done

global methods - Done
--------------------------------------------------------

next:
class
web ding dong
0
User avatar
dukejazz 
 

Re: [Plugin] dj_plugins v1.5.1 Dec 8 2012 updates

Postby Aerilius » Sat Dec 08, 2012 11:08 pm

dukejazz wrote:Also all my @varaibles are @dj_name @dj_ you say may varible names maybe to small and use by someone else I thought @H or @@u were global varibles and my initial values @dj_ were not?


Variables that start with @ or @@ ar not global variables. And if they were, it would be good not to use them. Global variables start with a $. There are two reasons why to avoid global variables:
  • to avoid name clashes (two different plugins that use the same name. Ok, that is less likely if you use long variable names or prefixes like $dj_variablexy)
  • to avoid messing up the global (Kernel) namespace

I was wondering about the method initialize in scaleGroupFlat_dj_loader.rb:85, I don't see in which class it is (or how it works). Did I miss module/class definitions? There are many methods that appeared to be in the global name space (not in a module) in files:
• entlast.rb
• scaleGroupFlat_dj_loader.rb
• anotherSketchup_dj_loader.rb
• anotherSketchupPlus_dj_loader.rb
• tips_dj_loader.rb

It is always a good idea to wrap code into modules, like:
Code: Select all
module DJ
  module AnotherSketchupPlus

    def self.youSU_clearCbExit
      # ...
    end

    # ... (other methods)
  end # module AnotherSketchupPlus
end # module DJ




P.S.: I like the forum's
formatting tools – they make text much nicer and readable and sometimes funny ;)
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] dj_plugins v1.5.4 Dec 26 2012 new name

Postby dukejazz » Wed Dec 26, 2012 4:14 pm

projectEditor_dj 1.5.4 |new name to fit what job action they do| old - dj_plugins v1.5.3
Copyright Dec 26 2012
by DukeJazz: James Cochran

Big new these programs are safe to use, now in module format
module DJ
module Plugins


History:
Dec 26 2012 v1.5.4
- All plugins wrap in Module DJ::pluginsName.method_dj(name space)
- All @variable format (name space) dj_variable
- All plugins are in subject and name order (easy to look up)
- Name changed from dj_plugins_loader to projectEditor_dj
0
User avatar
dukejazz 
 

Re: [Plugin] projectEditor_dj Feb 4, 2013

Postby dukejazz » Tue Feb 05, 2013 12:38 pm

projectEditor_dj 1.6 || old - dj_plugins v1.5.3
Copyright Feb 4, 2013
by DukeJazz: James Cochran

Feb 4, 2013; projectEditor_dj v1.6 bata
-change to a toogle tool bar
Feb 4, 2013 anotherSketchup_dj_loader v1.6
- add Slect all, delete and paste in place
Feb 4, 2013; scaleGroupFloat_dj v1.6 bata
-add cumulativeScaler_dj move around (a step boxpoint)
-add cumulativeScaler_dj size lenear stepper
-add cumulativeScaler_dj move lenear stepper
-fixes
Feb 4, 2013 anotherSketchupPlus_dj v1.6
- add explode; to componet; explode now dose both group and componet.
Feb 4, 2013
-added more Tips
Copyright Feb 4, 2013; zoomZoom_dj v1.6
-grouping to projectEditor_dj v1.6
0
Last edited by dukejazz on Tue Feb 05, 2013 2:06 pm, edited 1 time in total.
User avatar
dukejazz 
 

Re: [Plugin] projectEditor_dj Feb 4, 2013

Postby thomthom » Tue Feb 05, 2013 12:40 pm

Why is there a hidden file in the package? "dj_plugin_loader.rb" ?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] projectEditor_dj Feb 4, 2013

Postby thomthom » Tue Feb 05, 2013 12:44 pm

There are lots of them... ?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] projectEditor_dj Feb 4, 2013

Postby dukejazz » Tue Feb 05, 2013 12:49 pm

Name change
you may delete the old if you want
I didn't want a conflick with old still running


"Make ruby .rb or.rbs attributes hidden to keep plugins from loading at sketchup startup. ."


Select ( the hidden or unhidden folder ) files... and copy them to SU plugins folder for a boot startup of each tool.
0
Last edited by dukejazz on Tue Feb 05, 2013 1:04 pm, edited 1 time in total.
User avatar
dukejazz 
 

Re: [Plugin] projectEditor_dj Feb 4, 2013

Postby thomthom » Tue Feb 05, 2013 12:53 pm

But why do you package and distrobute a ZIP file full of old and hidden files?
Even though the RB file is hidden it's loading.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] projectEditor_dj Feb 4, 2013

Postby dukejazz » Tue Feb 05, 2013 1:16 pm

Now that it's as a hidden file. dj_pligins_loader.rb It can later be excluded from later ver.


On my compter I have 754 rb files and 550 are hidden in my plugins folder and they won't be loaded unless they are unhidden at sletchup startup

yes thomthom; thomthom » Today, 4:53 am
They will load if you call them thou the ruby script loader


I given you these folders (unhidden and hidden) so you don't need to work throu the mess of finding and changing the plugins loaders (copy and drop the file to plugins folder of what you want to hide)

yes thomthom; thomthom » Today, 4:53 am
I did find two desktop.ini files, I will delete them now

This one dj_plugins folder hold all my tools rb and if updated all platform are too.
I kind of address them all.
0
User avatar
dukejazz 
 

Re: [Plugin] projectEditor_dj Feb 4, 2013

Postby dukejazz » Thu Apr 18, 2013 11:36 am

update:
April 18, 2013; projectEditor_dj v1.6.5 bata
add the scaleGroupFloat_dj v1.6.5
-add cumulativeScaler_dj rotation around
0
User avatar
dukejazz 
 

Re: [Plugin] projectEditor_dj v1.7 make 1300.m1

Postby dukejazz » Thu Jun 20, 2013 12:43 pm

New ver
History:
June 18, 2013; projectEditor_dj v1.7 make 2013.m1
-new scaleGroupFloat_dj full inputbox format
-new selectAll fix for (Mac and PC)
-fix icons
-fixes for make 2013 m1
-set module to LibAnotherScalePlusDJ
-changed to self.method
-move varaibles table to DJ_lib folder,
-djAnotherLib_dj.rb thus DJ::LibAnotherScalePlusDJ.variables_dj
-deleted two folder hidden and unhidden
* WIP working on paste in place function for Mac

pic_0015.jpg
0
User avatar
dukejazz 
 

Re: [Plugin] projectEditor_dj v1.7 make 1300.m1

Postby dukejazz » Thu Jun 20, 2013 2:02 pm

Web page got mess up, ver 1.7 can now be down loaded. :)
Sorry for the wait.
0
User avatar
dukejazz 
 

Re: [Plugin] projectEditor_dj v1.8.SU.2013-14

Postby dukejazz » Sat Mar 01, 2014 2:56 pm

Download: update for SU2014

March 1, 2014; projectEditor_dj v1.8.SU.2013-14
0
User avatar
dukejazz 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 8 guests

Visit our sponsors: