[Solved] Mimic FPS info on FullScreen
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: [Solved] Mimic FPS info on FullScreen
Thanks again,
I'll try that as well.
cheers,
Dorin
I'll try that as well.
cheers,
Dorin
Re: [Solved] Mimic FPS info on FullScreen
Could be other thing!
Now I remember, sometimes FreeCAD shows, for an instant, like an old(previous) image on fullscreen,
I'm not saying is FreeCAD fault, could be some graphic accel. thing interfering, maybe..
cheers,
Dorin
Now I remember, sometimes FreeCAD shows, for an instant, like an old(previous) image on fullscreen,
I'm not saying is FreeCAD fault, could be some graphic accel. thing interfering, maybe..
cheers,
Dorin
Re: [Solved] Mimic FPS info on FullScreen
That fixes it!Chris_G wrote: ↑Mon Nov 02, 2020 11:27 am Maybe the touch() function of the scenegraph will work better ?Code: Select all
sg.touch()
cheers,
Dorin
Re: [Solved] Mimic FPS info on FullScreen
@DorinDXN,
I need this code but I'm stuck trying to remove the text, how do you exactly did it?
Thanks!
I need this code but I'm stuck trying to remove the text, how do you exactly did it?
Thanks!
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Re: [Solved] Mimic FPS info on FullScreen
Hi
maybe zoom the screen for refresh
mario
as describe in the example viewtopic.php?p=444339#p444339
Code: Select all
# remove the Superimposition layer with :
render.removeSuperimposition(sup)
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: [Solved] Mimic FPS info on FullScreen
Yes, I solved it refreshing screen withmario52 wrote: ↑Sat Jun 17, 2023 9:37 pm Hias describe in the example viewtopic.php?p=444339#p444339
maybe zoom the screen for refreshCode: Select all
# remove the Superimposition layer with : render.removeSuperimposition(sup)
mario
Code: Select all
touch()
Code: Select all
FreeCAD.sg = view.getSceneGraph()
Code: Select all
FreeCAD.sg.touch()
Thanks!
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Re: [Solved] Mimic FPS info on FullScreen
Hi
mario
good ... tankspablogil wrote: ↑Sun Jun 18, 2023 3:41 pm so that later I could call it with:Code: Select all
FreeCAD.sg.touch()
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: [Solved] Mimic FPS info on FullScreen
Hi
example creation sphere
mario
example creation sphere
Code: Select all
import pivy
from pivy import coin
pointRotation = App.Vector(0.0,0.0,0.0)
ctPoint = FreeCADGui.ActiveDocument.ActiveView.getSceneGraph()
itemctPoint = coin.SoSeparator()
sphere = coin.SoSphere()
sphere.radius = 0.5
color = coin.SoBaseColor()
color.rgb = (1.0, 1.0, 0.0)
move = coin.SoTranslation()
move.translation.setValue(pointRotation)
itemctPoint.addChild(color)
itemctPoint.addChild(move)
itemctPoint.addChild(sphere)
ctPoint.addChild(itemctPoint)
#ctPoint.removeChild(itemctPoint) # remove the point
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.