Search found 1613 matches

Go to advanced search

by Joel_graff
Tue Jan 21, 2020 3:42 pm
Forum: Python scripting and macros
Topic: How to move the cursor to selected objects 0,0,0?
Replies: 1
Views: 55

Re: How to move the cursor to selected objects 0,0,0?

From my pivy_trackers codebase, slightly modified for your needs: from PySide.QtGui import QCursor from tuple_math import TupleMath def set_mouse_position(self, view_state, screen_position, coord): """ Update the mouse cursor position independently coord - position in world coordinates. Multiple coo...
by Joel_graff
Tue Jan 14, 2020 1:05 pm
Forum: Developers corner
Topic: Release notes for v0.19
Replies: 172
Views: 24581

Re: Release notes for v0.19

I'm not sure is it the good place to post : but i have create a pull request for a new feature : You picked the right forum (Developer's Corner), but you really should have started your own thread for this. You could also have posted in Open Discussion, or in a forum dedicated to the module / workb...
by Joel_graff
Fri Jan 10, 2020 2:36 pm
Forum: UX/UI Design
Topic: Blender 2.8 release
Replies: 6
Views: 367

Blender 2.8 release

So BlenderGuru posted a video about the latest Blender 2.8 release. Most of it isn't directly related to FC, but I put it here because they stepped up their UI/UX by providing more on-screen control and making hot-keys less of a requirement. It's really kinda brief, but at one point they show how th...
by Joel_graff
Thu Jan 09, 2020 6:50 pm
Forum: Developers corner
Topic: Issues with pivy coin.SoFont / coin.SoText2
Replies: 11
Views: 387

Re: Issues with pivy coin.SoFont / coin.SoText2

Chris_G wrote:
Thu Jan 09, 2020 6:08 pm
SoText2 is not influenced by some transform operations :
I was starting to suspect that.

I suppose it could be done by writing the text to a texture in memory and projecting it on a face as a billboard sort of geometry...

Probably more work than it's worth to me at the moment.
by Joel_graff
Thu Jan 09, 2020 1:53 pm
Forum: Developers corner
Topic: Issues with pivy coin.SoFont / coin.SoText2
Replies: 11
Views: 387

Re: Issues with pivy coin.SoFont / coin.SoText2

Ok, so updating FreeCAD definitely helped. Text renders as I'd expect it to. But now I have another problem. :) Specifically, I added an SoTransform to the subgraph containing the SoFont and SoText2 nodes and generate an SbRotation object based on an angle. I assign it as follows, which should yield...
by Joel_graff
Wed Jan 08, 2020 12:57 pm
Forum: Developers corner
Topic: Issues with pivy coin.SoFont / coin.SoText2
Replies: 11
Views: 387

Re: Issues with pivy coin.SoFont / coin.SoText2

I also see the text without problems. Maybe it's due to graphics card? I have Intel HD 620. That could be. I have an NVidia Quadro card on my work system. It should be fine, though... OS: Windows 10 (10.0) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.17803 (Git) Build type: Re...
by Joel_graff
Tue Jan 07, 2020 7:15 pm
Forum: Developers corner
Topic: Issues with pivy coin.SoFont / coin.SoText2
Replies: 11
Views: 387

Re: Issues with pivy coin.SoFont / coin.SoText2

0.6.5.a1 here.

My FC release dates to August 19th. I have no way to update it because IT has locked down the computers. Maybe I can get that fixed eventually...
by Joel_graff
Tue Jan 07, 2020 6:03 pm
Forum: Developers corner
Topic: Issues with pivy coin.SoFont / coin.SoText2
Replies: 11
Views: 387

Re: Issues with pivy coin.SoFont / coin.SoText2

from pivy import coin import FreeCADGui as Gui _group = coin.SoGroup() _font = coin.SoFont() _text = coin.SoText2() _text.string.setValue('HELLO!') _font.name = 'Arial' _font.size.setValue(200.0) _group.addChild(_font) _group.addChild(_text) Gui.ActiveDocument.ActiveView.getSceneGraph().insertChild...
by Joel_graff
Tue Jan 07, 2020 5:30 pm
Forum: Developers corner
Topic: Issues with pivy coin.SoFont / coin.SoText2
Replies: 11
Views: 387

Issues with pivy coin.SoFont / coin.SoText2

I'm trying to figure out setting font types using the SoFont node, using pivy. For example, I tried to use Cambria (I'm on a Win10 system atm) with no success, using 'Cambria' and 'Cambria Regular'. In each case, it rendered the default font, so it appears FC can't find it. Then I tried 'Times New R...
by Joel_graff
Tue Jan 07, 2020 2:38 pm
Forum: Open discussion
Topic: FreeCAD on the web
Replies: 588
Views: 134849

Re: FreeCAD on the web

FreeCAD at Ohio LinuxFest! After I presented there last year, I had thought about coming back for a FreeCAD BoF session, but I really don't have the expertise to make a good show of it. Really glad someone else did! Wish I'd gone back this year!

Go to advanced search