Giter Site home page Giter Site logo

ianrrees / freecad_tinkering Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freecad/freecad

1.0 1.0 1.0 814.99 MB

Fork of FreeCAD/FreeCAD, with some stale branches and some work in progress.

License: Other

Shell 0.07% Python 29.84% CMake 1.13% Makefile 0.01% C++ 65.14% C 2.75% HTML 0.44% CSS 0.03% QMake 0.01% NSIS 0.27% Batchfile 0.01% Lex 0.19% Yacc 0.04% POV-Ray SDL 0.03% Ruby 0.01% JavaScript 0.04% Max 0.01% GLSL 0.01% Dockerfile 0.01%

freecad_tinkering's People

Contributors

5263 avatar abdullahtahiriyo avatar agryson avatar berndhahnebach avatar blobfish avatar deepsoic avatar eivindkv avatar f3nix avatar fat-zer avatar ianrrees avatar ickby avatar j-wiedemann avatar jrheinlaender avatar jriegel avatar kkremitzki avatar kreso-t avatar logari81 avatar looooo avatar luzpaz avatar mlampert avatar moult avatar przemof avatar realthunder avatar sanguinariojoe avatar sliptonic avatar triplus avatar vocx-fc avatar wandererfan avatar wwmayer avatar yorikvanhavre avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

terrylm

freecad_tinkering's Issues

Finish edition of template texts

  • Python interface - changing strings, also setting view orientation while there
  • Show PropertyMap in PropertyEditor?
  • Escape user strings + handle SVG errors better (currently throws unhandled exception)
  • DXF support?
  • Add blank template option, would be good for error cases like above
  • Bigger minimum size for template string dialog

Weird behaviour on changing "Front"

  1. Create drawing with an orthographic group and a few views
  2. Save
  3. Restart FreeCAD and open the drawing again
  4. Edit orthographic group to add another view
  5. Click buttons to change "Front" view, notice that the newly added views don't change every time the other views do...

Limited dimensioning possibilities for revolved objects (cone, cylinder)

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:

  • add some additional OCC edges, vertices eg. 4 slant height edges (0, 90, 180 and 270 deg) - may be tricky, and will be a waste of resources
  • use 2D edges edges after projection, similar to Hamish's python Drawing Dimensioning workbench - only for projected edges, mess on code and in FCstd file
  • other ideas?

Investigate crash when using helical test script

Doesn't actually make a helix yet

import Part, FreeCAD, math, PartGui, FreeCADGui
from FreeCAD import Base

get the selected objects, with first selection for the trajectory and second for the section

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])

create Part objec in the current document

myObject=App.ActiveDocument.addObject("Part::Feature", "Helix?")

variable makeSolid = 1 to create solid, 0 to create surfaces

makeSolid = True #1
isFrenet = True #1

trajEdge = Part.makeLine((0, 0, 0), (0, 0, 10))
trajWire = Part.Wire([trajEdge])

create a 3D shape and assigh it to the current document

Sweep = Part.Wire(trajWire).makePipeShell([section, section2], makeSolid, isFrenet)
myObject.Shape = Sweep

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.