Пример #1
0
def make():
    '''make(): makes a PolarArray object.'''
    obj = lattice2BaseFeature.makeLatticeFeature('PolarArray',
                                                 PolarArray,
                                                 ViewProviderPolarArray,
                                                 no_disable_attacher=True)
    return obj
def makeAttachablePlacement(name):
    '''makeAttachablePlacement(name): makes an attachable Placement object.'''
    if Compat.attach_extension_era:
        obj = lattice2BaseFeature.makeLatticeFeature(name, AttachablePlacement, ViewProviderAttachablePlacement, no_disable_attacher= True)
    else:
        #obsolete!
        obj = FreeCAD.ActiveDocument.addObject("Part::AttachableObjectPython",name)
        AttachablePlacement(obj)
        if FreeCAD.GuiUp:
            ViewProviderAttachablePlacement(obj.ViewObject)        
            
    return obj
def makeLatticeAttachedPlacementSubsequence(name):
    '''makeLatticeAttachedPlacementSubsequence(name): makes a AttachedPlacementSubsequence object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, AttachedPlacementSubsequence, ViewProviderAttachedPlacementSubsequence)
Пример #4
0
def makeLatticeResample(name):
    '''makeLatticeResample(name): makes a LatticeResample object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeResample, ViewProviderLatticeResample)
Пример #5
0
def makeLatticeResample(name):
    '''makeLatticeResample(name): makes a LatticeResample object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeResample, ViewProviderLatticeResample)
Пример #6
0
def makeArrayFilter(name):
    '''makeArrayFilter(name): makes a Lattice ArrayFilter object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeArrayFilter, ViewProviderArrayFilter)
Пример #7
0
def makeLatticeScLERP(name):
    '''makeLatticeScLERP(name): makes a LatticeScLERP object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeScLERP,
                                                  ViewProviderLatticeScLERP)
Пример #8
0
def makeLinearArray(name):
    '''makeLinearArray(name): makes a LinearArray object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LinearArray,
                                                  ViewProviderLinearArray)
Пример #9
0
def makeLatticePopulateChildren(name):
    '''makeLatticePopulateChildren(name): makes a LatticePopulateChildren object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticePopulateChildren, ViewProviderLatticePopulateChildren)
Пример #10
0
def makeJoinArrays(name):
    '''makeJoinArrays(name): makes a JoinArrays object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, JoinArrays,
                                                  ViewProviderJoinArrays)
Пример #11
0
def makePolarArray(name):
    '''makePolarArray(name): makes a PolarArray object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, PolarArray, ViewProviderPolarArray)
Пример #12
0
def makePolarArray(name):
    '''makePolarArray(name): makes a PolarArray object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, PolarArray,
                                                  ViewProviderPolarArray)
Пример #13
0
def makeLatticeParaSeries(name):
    '''makeLatticeParaSeries(name): makes a LatticeParaSeries object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeParaSeries, ViewProviderLatticeParaSeries)
Пример #14
0
def makeJoinArrays(name):
    """makeJoinArrays(name): makes a JoinArrays object."""
    return lattice2BaseFeature.makeLatticeFeature(name, JoinArrays, ViewProviderJoinArrays)
Пример #15
0
def makeLinearArray(name):
    '''makeLinearArray(name): makes a LinearArray object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LinearArray, ViewProviderLinearArray)
Пример #16
0
def makeLatticePopulateChildren(name):
    '''makeLatticePopulateChildren(name): makes a LatticePopulateChildren object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticePopulateChildren, ViewProviderLatticePopulateChildren)
Пример #17
0
def makeLatticeInvert(name):
    '''makeLatticeInvert(name): makes a LatticeInvert object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeInvert,
                                                  ViewProviderInvert)
Пример #18
0
def makeLatticeInvert(name):
    """makeLatticeInvert(name): makes a LatticeInvert object."""
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeInvert, ViewProviderInvert)
Пример #19
0
def makeProjectArray(name):
    '''makeProjectArray(name): makes a Lattice ProjectArray object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeProjectArray, ViewProviderProjectArray)
Пример #20
0
def makeLatticePlacementAx(name):
    '''makePlacement(name): makes a Placement object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticePlacementAx, ViewProviderLatticePlacement)
Пример #21
0
def makeLatticePlacement(name):
    '''makePlacement(name): makes a Placement object.'''
    return lattice2BaseFeature.makeLatticeFeature(
        name, LatticePlacement, ViewProviderLatticePlacement)
Пример #22
0
def makeLatticeArrayFromShape(name):
    '''makeLatticeArrayFromShape(name): makes a LatticeArrayFromShape object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeArrayFromShape, ViewProviderArrayFromShape)
Пример #23
0
def makeProjectArray(name):
    '''makeProjectArray(name): makes a Lattice ProjectArray object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeProjectArray,
                                                  ViewProviderProjectArray)
Пример #24
0
def makeLatticeTopoSeries(name):
    '''makeLatticeTopoSeries(name): makes a LatticeTopoSeries object.'''
    return lattice2BaseFeature.makeLatticeFeature(
        name, LatticeTopoSeries, ViewProviderLatticeTopoSeries)
Пример #25
0
def makeArrayFilter(name):
    '''makeArrayFilter(name): makes a Lattice ArrayFilter object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeArrayFilter,
                                                  ViewProviderArrayFilter)
Пример #26
0
def makeLatticeArrayFromShape(name):
    '''makeLatticeArrayFromShape(name): makes a LatticeArrayFromShape object.'''
    return lattice2BaseFeature.makeLatticeFeature(name, LatticeArrayFromShape, ViewProviderArrayFromShape)