Ir para conteúdo
3DFinder
Entrar

Você está no 3DFinder

Buscamos em Thingiverse, MakerWorld e Printables ao mesmo tempo para te dar o melhor de cada uma.

Buscar mais como este
Modelo 3D python library, a decoraton style 3d design python lib por hylpro no Thingiverse

Descrição

those solids are the demo object generated by this python library.

it is a new python library in developing which enable declaration style solid model design, reduce code size, readable, and elementary parts ready to use.

this library need solidpython (>=0.1.2):
https://github.com/SolidCode/SolidPython

change log
==============
2. decscad.tar.gz: a fairly stable library version, most of feature completed, and lot's of examples inlcuding openRC truggy modification.
1 . decbox.rar: old version library,

By heyongli@gmail.com

example:
class BallScrewCap(bp.Part):
h=6
ch=2.5

def __init__(self):  
    super(BallScrewCap, self).__init__()  
    self.rotate(y=180).up(self.h)  

@bp.bases  
def cylinder(self):  
    return st.Cylinder(r=12/2.0,h=self.h)  
@bp.holes  
def ball_hole(self):  
    
    return [ st.Cylinder(r= 5.7/2.0,h=self.h+0.2,segments=64).up(-0.1),  
             st.Sphere(r=6.1/2.0, segments=64),  
             # locker  
             st.Cylinder(r=9.5/2.0, h=self.ch, segments=64).up(-0.1)   
                    -st.Cylinder(r=8.5/2.0,h=self.ch,segments=64).up(-0.1),  
             st.Cube([3,9,self.ch]).up(-0.1)  
            ]  

class streering_pin(bp.Part):
@bp.bases
def caps(self):
return BallScrewCap(),BallScrewCap().translate(x=50)

@bp.bases  
def arm(self):  
    len=49.0-8.0  
    return st.Cube(size=[len,8, 5]).translate(x=len/2).translate(x=4.5)  
Thingiverse

python library, a decoraton style 3d design python lib

26
Curtidas
0
Downloads
36
Coleções
Tags
openrc openscad python SolidPython
Licença GNU - GPL
Arquivos (4)
sonicare.stl 912 KB
wheel_hex_hub.stl 100.3 KB
servo_arm-v2-locker.STL 362.4 KB
_BallScrewCap.stl 451.9 KB
Ver no Thingiverse (abre em nova aba)

Gostou deste modelo? Crie uma conta grátis para salvar seus favoritos e voltar a eles depois.

Criar conta