Author Topic: View Toolbar  (Read 39360 times)

Offline BR52

  • Wookie
  • ****
  • Posts: 368
    • View Profile
View Toolbar
« on: December 27, 2016, 03:04:16 am »
Hello,

With this new toolbar and intuitive icons with all functions.

   Armando

Offline BR52

  • Wookie
  • ****
  • Posts: 368
    • View Profile
Re: View Toolbar
« Reply #1 on: December 27, 2016, 03:08:04 am »



A three-dimensional object as example.



Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7663
    • View Profile
    • Cambam V1.0 French Doc
Re: View Toolbar
« Reply #2 on: December 27, 2016, 03:23:09 am »
Hello armando ;)

It is a new version compiled for 1.0 I assume ?

the last I've on the website is the 1.0.4713.26113
http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/View_Toolbar.html

It is also working with 0.9.8 or it is specific to 1.0 ?

(I use Andy's "regular" viewtoolbar addin on both version without pb)

++
David

Offline BR52

  • Wookie
  • ****
  • Posts: 368
    • View Profile
Re: View Toolbar
« Reply #3 on: December 27, 2016, 05:37:39 am »
Hi David,
It works on two versions 0.9.8P-beta-2 and 1.0.11, which is important has more functions.

   Armando

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3393
    • View Profile
Re: View Toolbar
« Reply #4 on: December 27, 2016, 12:27:16 pm »
Hi Armando.
This is nice addition, but because occasionally I work with different planes ( X-Z Lathe MOP) for example, it is confusing for me not be able to see a X-Z label..
My 2¢

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5347
  • Made in England
    • View Profile
Re: View Toolbar
« Reply #5 on: December 27, 2016, 12:29:57 pm »
The 'Fit Screen View' option does the same job as Jeff Birt's 'Reset' option so that's good.
Filmed in Supermarionation

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5347
  • Made in England
    • View Profile
Re: View Toolbar - update
« Reply #6 on: December 28, 2016, 19:56:37 pm »
Updated version attached.

1. Works with CamBam v1 ONLY

Hi Armando.
This is nice addition, but because occasionally I work with different planes ( X-Z Lathe MOP) for example, it is confusing for me not be able to see a X-Z label..

2. Tooltips text updated for Bubba

3. Added "Zoom to Box" from Rodneyk's plugin
http://www.cambam.co.uk/forum/index.php?topic=3021.msg18968#msg18968

The drag box in Rodney's version was a fixed green colour but in this version I used the same method that CamBam uses for it's mouse drag box i.e. the colour is the Background colour as set in Options menu but with the Red component inverted.

Code: [Select]

  // get CamBam background colour
      Color col1 = CamBam.CamBamConfig.Defaults.ViewBackgroundColor;
  // invert colour using same method as CamBam mouse marquee i.e. 255-red
      col1 = Color.FromArgb(255 - col1.R, col1.G, col1.B);


Note: as Rodney said in his thread, it works in 'Top' view, so please ensure that 'Top' view is selected before dragging a box.

Source project files attached.


« Last Edit: December 28, 2016, 20:31:57 pm by EddyCurrent »
Filmed in Supermarionation

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3393
    • View Profile
Re: View Toolbar
« Reply #7 on: December 28, 2016, 21:48:58 pm »
Thank you Eddy.
My 2¢

Win11, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, 4th Axis, Endurance Laser.

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5347
  • Made in England
    • View Profile
Re: View Toolbar
« Reply #8 on: January 09, 2017, 20:02:45 pm »
Update attached

Has been compiled with .NET version 4 assemblies and references to CamBam v1.0 dlls

Has been modified and tested to work on;

    Windows
    Linux

Works with CamBam version 1 ONLY


Filmed in Supermarionation

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5347
  • Made in England
    • View Profile
Re: View Toolbar
« Reply #9 on: January 13, 2017, 14:06:01 pm »
I think there may be a slight conflict with the drag box in this plugin and CamBam v12 new selection box.
« Last Edit: January 13, 2017, 14:44:13 pm by EddyCurrent »
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7663
    • View Profile
    • Cambam V1.0 French Doc
Re: View Toolbar
« Reply #10 on: January 13, 2017, 21:17:42 pm »
Hello,

Seems to works for me on V1.0 rel 12

On the previous version of zoom to box (the one from rodnek, that is not working on 1.0), there is a nice features on the zoom to fit button that allow to zoom the selected objects so they fit the screen ; if nothing is selected it perform a zoom to fit all as with your plugin. Did you can add such option on the fit screen button for a next release ?

++
David

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5347
  • Made in England
    • View Profile
Re: View Toolbar
« Reply #11 on: January 14, 2017, 20:07:55 pm »
David,

I thought both buttons did the same thing, I did not realise Rodney's plugin zoomed to the selected object.
I'll take a look.
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7663
    • View Profile
    • Cambam V1.0 French Doc
Re: View Toolbar
« Reply #12 on: January 14, 2017, 20:35:14 pm »
Hello

Quote
I did not realise Rodney's plugin zoomed to the selected object

It's very useful, especially when you fall on a very small features that appears on the tree but are invisible on the screen ; mostly debris of polylines after a trim or a remove overlaps or after an explode when your search for small segments.

++
David

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5347
  • Made in England
    • View Profile
Re: View Toolbar
« Reply #13 on: January 15, 2017, 17:16:21 pm »
New version attached, I've called it version 2.0

From left to right the view icons are;

1. Isometric
2. Orthogonal
3. Top
4. Bottom
5. Back
6. Front
7. Right
8. Left
9. Fit screen view
    If no objects are selected, this will zoom the view to the extents of all objects
    If one or more objects are selected, this will zoom the view to the extents of the selected objects only

10. Zoom To Box
    Drag a box to define the zoom area

This version has been tested to work on;

Windows
Linux

and has been compiled for CamBam v1 only
« Last Edit: January 18, 2017, 15:42:57 pm by EddyCurrent »
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7663
    • View Profile
    • Cambam V1.0 French Doc
Re: View Toolbar
« Reply #14 on: January 15, 2017, 22:01:47 pm »
Hello

Thanks Eddy ;)

++
David