Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pyooml] It should work ok with freecadcmd (without gui) #33

Open
Obijuan opened this issue Apr 9, 2015 · 0 comments
Open

[pyooml] It should work ok with freecadcmd (without gui) #33

Obijuan opened this issue Apr 9, 2015 · 0 comments

Comments

@Obijuan
Copy link
Owner

Obijuan commented Apr 9, 2015

$ freecadcmd
FreeCAD 0.16, Libs: 0.16R4751 (Git)
(c) Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015

#### ###

# # # #

## #### #### # # # #

# # # # # # # ##### #

# #### #### # # # #

# # # # # # # # ## ##

# #### #### ### # # #### ## ##

[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]

from pyooml import *

Create a document:

doc = App.newDocument("Example")
doc.recompute()

Call pyooml.cube:

cube(10,10,10)
Traceback (most recent call last):
File "", line 1, in
File "pyooml.py", line 434, in init
super(cube, self).init(self.obj)
File "pyooml.py", line 46, in init
obj.ViewObject.Proxy = self
AttributeError: 'NoneType' object has no attribute 'Proxy'

It should be fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant