示例#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)
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)