Leatherman wrote:HI,
just have a look, this is how it looks. I've designed the upper over a last and once this creation is ready it will be combined with the sole.
What I feel, and may be I'm wrong, we are having sole and upper, but not the last. What do you think?
Regards
Andre
The sole will be the green part
The upper will be the blue with some offset
What do you mean with "last"? The red foot?
yes, it's called the shoe last or "Schuhleisten", as you know, "Schuster bleib bei deinen Leisten"
between the foot and the parts there is only a offset, having the data for the ones we have the data for the other too.
Well, basically this is correct, It's interesting to see where is your approach leading to. In the classical way you need to create the shoe last first, than create the upper part and sole. But CAD leaves us with other options as well, so why not? let me know if you need further input for the heel design.
Thank you for the explanations, meanwhile I played a bit with the upper part.
Simple algebraic operations give me the slipper layout.
Tomorrow I will look at the heel.
Hi,
that looks certainly like a shoe project, very nice!
I have upgraded:
OS: Windows 10
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.10091 (Git)
Build type: Release
Branch: master
Hash: 3076b5938f3af5b7a3375c6aa8471bbacb9d6c4a
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Still I'm getting some errors in your script. I have attached it, kindly check where my problem is. Hope that would not take too much of your time.
Regards
Andre
The blue lines illustrate the used data points.
I have reduced the data set to a minimum (in my understanding of a shoe)
bp_376.png (120.84 KiB) Viewed 1936 times
see the new script, I cannot reproduce the indent error,
lets test the new and hope that it will run.
check please whether you need more data for design
then we can start a UI design for data input
Will try again. Shall I copy and past the entire code once, or shall I do certain breaks?
No, two times- same result. It did not show any mistake either. I think it's not doing import numpy... no idea what it is, do we need this? If you ask for import I guess we need this! Kindly advice me on this.
Regards
Andre
Last edited by Leatherman on Thu Feb 16, 2017 3:56 pm, edited 1 time in total.
I think you have not pressed the enter key after pasting the script into the python console, so the 2nd part of the script was not executed
I missed this ending in your trace:
.. Draft.makeWire(pts)
... App.ActiveDocument.ActiveObject.ViewObject.LineColor=(.0,.0,1.0)
...
... lfs2=lfs2.swapaxes(0,1)
... for l in lfs2:
... pts=[FreeCAD.Vector(p) for p in l]
... #Draft.makeBSpline(pts)
... Draft.makeWire(pts)
... App.ActiveDocument.ActiveObject.ViewObject.LineColor=(.0,.0,1.0)
...
<Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject><Part::Part2DObject>
>>>