Search found 11104 matches

Go to advanced search

by wmayer
Thu Feb 23, 2017 8:28 pm
Forum: Python scripting and macros
Topic: Geom2d.toShape() -> no 3D curve
Replies: 4
Views: 99

Re: Geom2d.toShape() -> no 3D curve

I don't know the reason why check() raises the error nor how to fix it. But the raised exception with "Curve" is because internally OCC says it's of type "GeomAbs_OtherCurve" which is not a real curve type. For an edge built from a 2d edge I think the class BRepAdaptor_Curve req...
by wmayer
Thu Feb 23, 2017 9:31 am
Forum: Install / Compile
Topic: Build fails at src/Gui/DlgEditorImp.cpp:256:0:
Replies: 8
Views: 107

Re: Build fails at src/Gui/DlgEditorImp.cpp:256:0:

Do you mean you ran the command "make clean" or did you create a new directory and start compiling from the beginning? I have found in the past that I needed to do the latter. Both is useless once you made an in-source build because then the source directory is full of generated files. Wh...
by wmayer
Thu Feb 23, 2017 7:56 am
Forum: Python scripting and macros
Topic: Geom2d.toShape() -> no 3D curve
Replies: 4
Views: 99

Re: Geom2d.toShape() -> no 3D curve

Do you want me to make a bug report on mantis ? You can do this so that we don't forget it. But for the check() error I guess the algorithm requires a 3d curve which when the "Curve" part is implemented should be doable: curve = edge.getCurveFromFace(face) shape = curve.toShape() shape.ch...
by wmayer
Wed Feb 22, 2017 9:38 pm
Forum: Python scripting and macros
Topic: Geom2d.toShape() -> no 3D curve
Replies: 4
Views: 99

Re: Geom2d.toShape() -> no 3D curve

I don't know the reason why check() raises the error nor how to fix it. But the raised exception with "Curve" is because internally OCC says it's of type "GeomAbs_OtherCurve" which is not a real curve type. For an edge built from a 2d edge I think the class BRepAdaptor_Curve requ...
by wmayer
Wed Feb 22, 2017 10:17 am
Forum: Python scripting and macros
Topic: Mesh creation loses triangles.
Replies: 2
Views: 57

Re: Mesh creation loses triangles.

The method addFacets (also used inside Mesh.Mesh()) checks for non-manifolds edge and filter out the affected triangles while addMesh doesn't do this check because it expects that the two meshes don't overlap. The field of application the mesh data structure was designed for it is important to avoid...
by wmayer
Wed Feb 22, 2017 9:25 am
Forum: Help on using FreeCAD
Topic: Feature Request! Zoom with mouse drag.
Replies: 6
Views: 127

Re: Feature Request! Zoom with mouse drag.

That was an easy fix: dd20ba3 In the very first version of the Blender style we already had Ctrl+MMB for zooming but then got some complaints from a mac user 376 that he cannot do MMB clicks and that's why it has changed to Ctrl+Shift+RMB. So, now you have two options for fine zooming: Ctrl+Shift+RM...
by wmayer
Mon Feb 20, 2017 10:00 pm
Forum: Archived Pull Requests
Topic: Update of xlsx-importer
Replies: 1
Views: 72

Re: Update of xlsx-importer

Merged.
by wmayer
Mon Feb 20, 2017 9:50 pm
Forum: Python scripting and macros
Topic: Vector2d in python ?
Replies: 2
Views: 77

Re: Vector2d in python ?

Code: Select all

from FreeCAD import Base
c = Part.Geom2d.Circle2d(Base.Vector2d(0,0),2)
by wmayer
Mon Feb 20, 2017 9:45 pm
Forum: Python scripting and macros
Topic: New FeaturePython is grey
Replies: 16
Views: 1390

Re: New FeaturePython is grey

I have new problems with FeaturePython ViewProvider ... It seams not possible to call unsetEdit from within the setEdit !? I'm not able to unset the edit mode of an object. How to reproduce: Calling unsetEdit inside setEdit doesn't make sense because at the point when entering setEdit nothing has h...
by wmayer
Mon Feb 20, 2017 8:33 am
Forum: Forum in Deutsch
Topic: 3D Modell beschneiden
Replies: 7
Views: 160

Re: 3D Modell beschneiden

Da ich mir einen bestimmten Bereich im Detail ansehen möchte, wäre es hilfreich ein paar Elemente temporär zu entfernen. Besteht die Möglichkeit per Maus einfach einen Bereich bzw. Elemente zu markiernen und zu löschen bzw. wegzuschneiden? Grundsätzlich mag eine Funktion zum Schneiden eines Modells...

Go to advanced search