ianrrees / freecad_tinkering Goto Github PK
View Code? Open in Web Editor NEWThis project forked from freecad/freecad
Fork of FreeCAD/FreeCAD, with some stale branches and some work in progress.
License: Other
This project forked from freecad/freecad
Fork of FreeCAD/FreeCAD, with some stale branches and some work in progress.
License: Other
Currently, the individual views end up orphaned
Sometimes when adding a view, the scale isn't yet applied to the view which creates weirdness.
Things get really slow when a Drawing of a really big sphere is requested - investigate this
In https://github.com/WandererFan/freecad-dev/wiki
some edges are missing "reference" to OCC edge. --> can't select and can't calculate dimensions.
not all projection edges have an equivalent in Source. (ex for a Sphere, projection has a circular edge, but Source Sphere has no circular edge)
The problem seems to be bigger. Cones and cylinders have only one selectable edge (slant height/height), two vertices and top/bottom circular edges. This makes eg. dimensioning cone angle impossible.
Workaround ideas:
Although it looks like this might be in OCE...
See blog post: https://opendeveloperfunding.wordpress.com/2015/04/18/geometry/
Root cause of the problem may be that the 3D information is lost during the projection to 2D?
import Part, FreeCAD, math, PartGui, FreeCADGui
from FreeCAD import Base
selection = FreeCADGui.Selection.getSelection()
try:
shape = selection[0].Shape
shape2 = selection[0].Shape
except:
print "Wrong selection"
section = Part.Wire([shape])
section2 = Part.Wire([shape2])
myObject=App.ActiveDocument.addObject("Part::Feature", "Helix?")
makeSolid = True #1
isFrenet = True #1
trajEdge = Part.makeLine((0, 0, 0), (0, 0, 10))
trajWire = Part.Wire([trajEdge])
Sweep = Part.Wire(trajWire).makePipeShell([section, section2], makeSolid, isFrenet)
myObject.Shape = Sweep
Caused by the front view not stealing focus from anything other than views, or perhaps that's not the right approach anyways. -Ian-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.