Author Topic: Build gauge in or outside of guide  (Read 5503 times)

Offline swordfeather

  • PLUS+1 Developer
  • ***
  • Posts: 14
  • Karma: +1/-0
Build gauge in or outside of guide
« on: May 10, 2021, 10:09:03 PM »
Hi,

I need to build a gauge where I can highlight a zone in green where the needle should be all the time.
Does anyone know how to build this from scratch inside VBSE?

Comes down to making a part of a circle where the angle depends on the setpoint i guess.

Kind regards

Offline pinias

  • PLUS+1 Guru
  • *****
  • Posts: 215
  • Karma: +7/-0
Re: Build gauge in or outside of guide
« Reply #1 on: May 11, 2021, 01:43:58 AM »
the way I do that is by using a drawing software.

like Creo parametric, which means I will have it in 3D, then I export it to DWG and do a clean up of the 2d drawing, then I get it imported in inkscape

notice that one picture is the gauge and another picture is the needle they are independent. but were created with the same drawing software so that all scaling and position is good.

it works for me perhaps you could do something similar


Offline swordfeather

  • PLUS+1 Developer
  • ***
  • Posts: 14
  • Karma: +1/-0
Re: Build gauge in or outside of guide
« Reply #2 on: May 11, 2021, 08:18:40 PM »
Thanks, for the quick reply.
I used the same trick for a linear gauge already but your reply was a eureka/damn should have known this moment.

You rotate the needle over a specific angle so it must be able to rotate images. I will need(le) to view some tutorials on how to do this.

Thanks for the eye opnener.

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +32/-0
Re: Build gauge in or outside of guide
« Reply #3 on: May 12, 2021, 06:48:54 PM »
The one time I needed a gauge for a GUIDE display I used CoDeSys to make the background of the gauge.  It took seconds.  Now I just use CoDeSys displays...
Controls Engineer
Hydra-Power Systems

Offline swordfeather

  • PLUS+1 Developer
  • ***
  • Posts: 14
  • Karma: +1/-0
Re: Build gauge in or outside of guide
« Reply #4 on: June 05, 2021, 11:40:18 AM »
Thanks for the replies, I was able to build a proper gauge using illustrator.