Search found 1065 matches

Go to advanced search

by HakanSeven12
Tue Jan 12, 2021 2:09 pm
Forum: Open discussion
Topic: Civil engineering feature implementation (Transportation Engineering)
Replies: 1188
Views: 88821

Re: Civil engineering feature implementation (Transportation Engineering)

I think you're asking if it's possible to serialize your geomatics objects? If so, of course we can - but I'll have to revisit how that works, lol. But if memory serves, you'll basically make your own objects serializable. I didn't build it with anyone else in mind, so it may require some refactori...
by HakanSeven12
Tue Jan 12, 2021 2:02 pm
Forum: Open discussion
Topic: Civil engineering feature implementation (Transportation Engineering)
Replies: 1188
Views: 88821

Re: Civil engineering feature implementation (Transportation Engineering)

Joel_graff wrote:
Tue Jan 12, 2021 1:23 pm
Try now. Converting a float to a tuple isn't a thing. :) My bad.
It throws that error but I dont know is that releated to your code or mine :)

Code: Select all

<Exception> wrong type as quantity: Base.Vector
by HakanSeven12
Tue Jan 12, 2021 6:08 am
Forum: UX/UI Design
Topic: Modern UI
Replies: 291
Views: 25846

Re: Modern UI

Bu hatayla hiç karşılaşmadım. User.cfg ve System.cfg yi sildim. FreeCAD'i ve Modern UI'yi sildim kurdum. Hatta başka bir bilgisayara bile kurdum fakat hatayla karşılaşmadım :) Part Design aktifken şunu python konsolunda dener misin? Modern UI kurmana gerek yok. workbench = FreeCADGui.activeWorkbench...
by HakanSeven12
Tue Jan 12, 2021 5:37 am
Forum: Open discussion
Topic: Civil engineering feature implementation (Transportation Engineering)
Replies: 1188
Views: 88821

Re: Civil engineering feature implementation (Transportation Engineering)

Try it now. I think I fixed it, but I couldn't really test. 08:31:44 Traceback (most recent call last): File "C:\Users\hakan.seven\AppData\Roaming\FreeCAD\Mod\freecad.trails\freecad\trails\geomatics\section\gl_cluster.py", line 139, in execute self.generate(alignment,increments, ofsets, region, hor...
by HakanSeven12
Tue Jan 12, 2021 4:14 am
Forum: Python scripting and macros
Topic: Part::FeaturePython control of tree view.
Replies: 10
Views: 358

Re: Part::FeaturePython control of tree view.

I'm using this method for mesh and it will works for shape. I created an app::featurepython object then I added a mesh property to it. Then by using this mesh property's variables I created display by using coin 3d nodes.
by HakanSeven12
Mon Jan 11, 2021 4:10 pm
Forum: Python scripting and macros
Topic: Part::FeaturePython control of tree view.
Replies: 10
Views: 358

Re: Part::FeaturePython control of tree view.

keithsloan52 wrote:
Mon Jan 11, 2021 3:06 pm
could not get it to display
Why?
by HakanSeven12
Mon Jan 11, 2021 1:15 pm
Forum: Python scripting and macros
Topic: Part::FeaturePython control of tree view.
Replies: 10
Views: 358

Re: Part::FeaturePython control of tree view.

You can add a property to it that contain the shape.

Code: Select all

        obj.addProperty(
            "Part::PropertyPartShape", "Shape", "Base",
            "Shape").Shape= None
I didn't try that.
by HakanSeven12
Mon Jan 11, 2021 12:16 pm
Forum: Python scripting and macros
Topic: Part::FeaturePython control of tree view.
Replies: 10
Views: 358

Re: Part::FeaturePython control of tree view.

You need to create an App::DocumentObjectGroupPython object

Go to advanced search