Robossembler Framework: update readme files

This commit is contained in:
brothermechanic 2023-12-01 11:34:37 +03:00
parent b3612d8655
commit 679a52a041
No known key found for this signature in database
GPG key ID: 9C59EF9503ACD106
41 changed files with 246 additions and 776 deletions

View file

@ -1,5 +1,22 @@
# coding: utf-8
# https://blender.stackexchange.com/a/134596
# original code https://blender.stackexchange.com/a/134596
# Copyright (C) 2023 Ilia Kurochkin <brothermechanic@yandex.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
'''
DESCRIPTION.
Custom parser for Blender and FreeCAD.
This is an overlay for standard ArgumentParser.
'''
__version__ = '0.1'
import argparse
import sys
@ -49,6 +66,7 @@ class CustomArgumentParser(argparse.ArgumentParser):
)
def parse_known_args(self, args=None, namespace=None):
''' Parse only known args '''
return super().parse_known_args(
args=args or self._get_argv_after_doubledash(),
namespace=namespace