PLUS+1 User Forum

PLUS+1 Tools => PLUS+1 and C => Topic started by: swordfeather on May 10, 2021, 10:09:03 PM

Title: Build gauge in or outside of guide
Post by: swordfeather 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
Title: Re: Build gauge in or outside of guide
Post by: pinias 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

Title: Re: Build gauge in or outside of guide
Post by: swordfeather 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.
Title: Re: Build gauge in or outside of guide
Post by: FluidPowerTom 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...
Title: Re: Build gauge in or outside of guide
Post by: swordfeather on June 05, 2021, 11:40:18 AM
Thanks for the replies, I was able to build a proper gauge using illustrator.