本文整理汇总了Python中skeinforge_tools.skeinforge_utilities.gcodec.isProcedureDoneOrFileIsEmpty函数的典型用法代码示例。如果您正苦于以下问题:Python isProcedureDoneOrFileIsEmpty函数的具体用法?Python isProcedureDoneOrFileIsEmpty怎么用?Python isProcedureDoneOrFileIsEmpty使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了isProcedureDoneOrFileIsEmpty函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, insetPreferences = None ):
"Inset the preface gcode text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'inset' ):
return gcodeText
if insetPreferences == None:
insetPreferences = preferences.getReadPreferences( InsetPreferences() )
return InsetSkein().getCraftedGcode( insetPreferences, gcodeText )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:7,代码来源:inset.py
示例2: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, repository = None ):
"Inset the preface gcode text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'inset' ):
return gcodeText
if repository == None:
repository = settings.getReadRepository( InsetRepository() )
return InsetSkein().getCraftedGcode( gcodeText, repository )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:7,代码来源:inset.py
示例3: getCraftedTextFromText
def getCraftedTextFromText( text, prefaceRepository = None ):
"Preface and convert an svg text."
if gcodec.isProcedureDoneOrFileIsEmpty( text, 'preface' ):
return text
if prefaceRepository == None:
prefaceRepository = settings.getReadRepository( PrefaceRepository() )
return PrefaceSkein().getCraftedGcode( prefaceRepository, text )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:7,代码来源:preface.py
示例4: getCraftedTextFromText
def getCraftedTextFromText( text, prefacePreferences = None ):
"Preface and convert an svg text."
if gcodec.isProcedureDoneOrFileIsEmpty( text, 'preface' ):
return text
if prefacePreferences == None:
prefacePreferences = preferences.getReadPreferences( PrefacePreferences() )
return PrefaceSkein().getCraftedGcode( prefacePreferences, text )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:7,代码来源:preface.py
示例5: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, clipRepository = None ):
"Clip a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'clip' ):
return gcodeText
if clipRepository == None:
clipRepository = preferences.getReadRepository( ClipRepository() )
if not clipRepository.activateClip.value:
return gcodeText
return ClipSkein().getCraftedGcode( clipRepository, gcodeText )
开发者ID:TeamTeamUSA,项目名称:ReplicatorG,代码行数:9,代码来源:clip.py
示例6: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, wipeRepository = None ):
"Wipe a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'wipe' ):
return gcodeText
if wipeRepository == None:
wipeRepository = preferences.getReadRepository( WipeRepository() )
if not wipeRepository.activateWipe.value:
return gcodeText
return WipeSkein().getCraftedGcode( gcodeText, wipeRepository )
开发者ID:TeamTeamUSA,项目名称:ReplicatorG,代码行数:9,代码来源:wipe.py
示例7: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, stretchRepository = None ):
"Stretch a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'stretch' ):
return gcodeText
if stretchRepository == None:
stretchRepository = settings.getReadRepository( StretchRepository() )
if not stretchRepository.activateStretch.value:
return gcodeText
return StretchSkein().getCraftedGcode( gcodeText, stretchRepository )
开发者ID:FarMcKon,项目名称:skeinforge,代码行数:9,代码来源:stretch.py
示例8: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, combRepository = None ):
"Comb a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'comb' ):
return gcodeText
if combRepository == None:
combRepository = settings.getReadRepository( CombRepository() )
if not combRepository.activateComb.value:
return gcodeText
return CombSkein().getCraftedGcode( combRepository, gcodeText )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:9,代码来源:comb.py
示例9: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, coolPreferences = None ):
"Cool a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'cool' ):
return gcodeText
if coolPreferences == None:
coolPreferences = preferences.getReadPreferences( CoolPreferences() )
if not coolPreferences.activateCool.value:
return gcodeText
return CoolSkein().getCraftedGcode( gcodeText, coolPreferences )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:9,代码来源:cool.py
示例10: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, homePreferences = None ):
"Home a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'home' ):
return gcodeText
if homePreferences == None:
homePreferences = preferences.getReadPreferences( HomePreferences() )
if not homePreferences.activateHome.value:
return gcodeText
return HomeSkein().getCraftedGcode( gcodeText, homePreferences )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:9,代码来源:home.py
示例11: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, repository = None ):
"Dimension a gcode text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'dimension' ):
return gcodeText
if repository == None:
repository = settings.getReadRepository( DimensionRepository() )
if not repository.activateDimension.value:
return gcodeText
return DimensionSkein().getCraftedGcode( gcodeText, repository )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:9,代码来源:dimension.py
示例12: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, lashPreferences = None ):
"Get a lashed gcode linear move text from text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'lash' ):
return gcodeText
if lashPreferences == None:
lashPreferences = preferences.getReadPreferences( LashPreferences() )
if not lashPreferences.activateLash.value:
return gcodeText
return LashSkein().getCraftedGcode( gcodeText, lashPreferences )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:9,代码来源:lash.py
示例13: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, hopRepository = None ):
"Hop a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'hop' ):
return gcodeText
if hopRepository == None:
hopRepository = settings.getReadRepository( HopRepository() )
if not hopRepository.activateHop.value:
return gcodeText
return HopSkein().getCraftedGcode( gcodeText, hopRepository )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:9,代码来源:hop.py
示例14: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, repository = None ):
"Widen the preface gcode text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'widen' ):
return gcodeText
if repository == None:
repository = settings.getReadRepository( WidenRepository() )
if not repository.activateWiden.value:
return gcodeText
return WidenSkein().getCraftedGcode( gcodeText, repository )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:9,代码来源:widen.py
示例15: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, feedRepository = None ):
"Feed a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'feed' ):
return gcodeText
if feedRepository == None:
feedRepository = settings.getReadRepository( FeedRepository() )
if not feedRepository.activateFeed.value:
return gcodeText
return FeedSkein().getCraftedGcode( gcodeText, feedRepository )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:9,代码来源:feed.py
示例16: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, repository = None ):
"Coil a gcode linear move gcodeText."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'coil' ):
return gcodeText
if repository == None:
repository = settings.getReadRepository( CoilRepository() )
if not repository.activateCoil.value:
return gcodeText
return CoilSkein().getCraftedGcode( gcodeText, repository )
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:9,代码来源:coil.py
示例17: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, liftPreferences = None ):
"Lift the preface gcode text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'lift' ):
return gcodeText
if liftPreferences == None:
liftPreferences = preferences.getReadPreferences( LiftPreferences() )
if not liftPreferences.activateLift.value:
return gcodeText
return LiftSkein().getCraftedGcode( liftPreferences, gcodeText )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:9,代码来源:lift.py
示例18: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, raftRepository = None ):
"Raft a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'raft' ):
return gcodeText
if raftRepository == None:
raftRepository = preferences.getReadRepository( RaftRepository() )
if not raftRepository.activateRaft.value:
return gcodeText
return RaftSkein().getCraftedGcode( gcodeText, raftRepository )
开发者ID:TeamTeamUSA,项目名称:ReplicatorG,代码行数:9,代码来源:raft.py
示例19: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, stretchPreferences = None ):
"Stretch a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'stretch' ):
return gcodeText
if stretchPreferences == None:
stretchPreferences = preferences.getReadPreferences( StretchPreferences() )
if not stretchPreferences.activateStretch.value:
return gcodeText
return StretchSkein().getCraftedGcode( gcodeText, stretchPreferences )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:9,代码来源:stretch.py
示例20: getCraftedTextFromText
def getCraftedTextFromText( gcodeText, unpausePreferences = None ):
"Unpause a gcode linear move text."
if gcodec.isProcedureDoneOrFileIsEmpty( gcodeText, 'unpause' ):
return gcodeText
if unpausePreferences == None:
unpausePreferences = preferences.getReadPreferences( UnpausePreferences() )
if not unpausePreferences.activateUnpause.value:
return gcodeText
return UnpauseSkein().getCraftedGcode( unpausePreferences, gcodeText )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:9,代码来源:unpause.py
注:本文中的skeinforge_tools.skeinforge_utilities.gcodec.isProcedureDoneOrFileIsEmpty函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论