Subscribed unsubscribe Subscribe Subscribe

shell 3d print by replicator mini

3d_printer ghpython

球をインフィルを下げ、1層のシェルで3Dプリントテスト

元データ
f:id:ysok_na:20161027191505j:plain

replicator mini + maker bot desktop

quality : standard

raft : on
support : on
shell : 1
infill : 0%
layer resolution : 0.3



途中でもじゃった
f:id:ysok_na:20161027192044j:plain
f:id:ysok_na:20161028135357j:plain
f:id:ysok_na:20161028135400j:plainf:id:ysok_na:20161028135358j:plain


Pythonでのパネリング

RhinoScriptSyntax.AddLine(PtA , PtB)
Rhino.Geometry.Line(PtA , PtB)
たぶん同じ結果??

# input type - unum , vnum : int

import Rhino.Geometry as rg

a = []
b = []

for i in range(unum):
    for j in range(vnum):
        
        pt11 = surf.PointAt(i/unum, j/vnum)
        pt12 = surf.PointAt((i+1)/unum, j/vnum)
        pt22 = surf.PointAt((i+1)/unum, (j+1)/vnum)
        pt21 = surf.PointAt(i/unum, (j+1)/vnum)
        
        # line1 = rs.AddLine(pt11,pt22)
        # line2 = rs.AddLine(pt12,pt21)

        line1 = rg.Line(pt11,pt22)
        line2 = rg.Line(pt12,pt21)
        
        a.append(line1)
        b.append(line2)