updated licenses
This commit is contained in:
parent
da6225c740
commit
911d00bfd7
18
LICENSE
18
LICENSE
|
@ -1,3 +1,21 @@
|
||||||
|
CadQuery
|
||||||
|
Copyright (C) 2013 Parametric Products Intellectual Holdings, LLC
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
|
||||||
GNU LESSER GENERAL PUBLIC LICENSE
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
"""
|
"""
|
||||||
A Parametric CAD System for the Web
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved.
|
|
||||||
|
|
||||||
The Core CadQuery object
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
class CQContext(object):
|
class CQContext(object):
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
"""
|
||||||
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
|
|
||||||
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
|
"""
|
||||||
#these items are the common implementation
|
#these items are the common implementation
|
||||||
from .CQ import CQ
|
from .CQ import CQ
|
||||||
from .workplane import Workplane
|
from .workplane import Workplane
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
"""
|
||||||
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
|
|
||||||
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
|
"""
|
|
@ -1,3 +1,22 @@
|
||||||
|
"""
|
||||||
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
|
|
||||||
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
|
"""
|
||||||
|
|
||||||
import FreeCAD
|
import FreeCAD
|
||||||
from FreeCAD import Part
|
from FreeCAD import Part
|
||||||
from FreeCAD import Base
|
from FreeCAD import Base
|
||||||
|
|
|
@ -1,3 +1,22 @@
|
||||||
|
"""
|
||||||
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
|
|
||||||
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import xml.etree.cElementTree as ET
|
import xml.etree.cElementTree as ET
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
|
@ -1,9 +1,22 @@
|
||||||
"""
|
"""
|
||||||
A Parametric CAD System for the Web
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved.
|
|
||||||
|
|
||||||
Basic Geometry Constructs
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import math,sys
|
import math,sys
|
||||||
|
|
||||||
def sortWiresByBuildOrder(wireList,plane,result=[]):
|
def sortWiresByBuildOrder(wireList,plane,result=[]):
|
||||||
|
|
|
@ -1,4 +1,21 @@
|
||||||
"""
|
"""
|
||||||
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
|
|
||||||
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
|
|
||||||
Wrapper Classes for FreeCAD
|
Wrapper Classes for FreeCAD
|
||||||
These classes provide a stable interface for 3d objects,
|
These classes provide a stable interface for 3d objects,
|
||||||
independent of the FreeCAD interface.
|
independent of the FreeCAD interface.
|
||||||
|
@ -29,7 +46,6 @@
|
||||||
all factory methods are on the 'Part' object, but it is very useful to know what kind of
|
all factory methods are on the 'Part' object, but it is very useful to know what kind of
|
||||||
object each one returns, so these are better grouped by the type of object they return.
|
object each one returns, so these are better grouped by the type of object they return.
|
||||||
(who would know that Part.makeCircle() returns an Edge, but Part.makePolygon() returns a Wire ?
|
(who would know that Part.makeCircle() returns an Edge, but Part.makePolygon() returns a Wire ?
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,22 @@
|
||||||
|
"""
|
||||||
|
CadQuery
|
||||||
|
Copyright (C) 2013 Parametric Products Intellectual Holdings, LLC
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
"""
|
||||||
|
|
||||||
from .CQ import CQ
|
from .CQ import CQ
|
||||||
from .workplane import Workplane
|
from .workplane import Workplane
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
"""
|
"""
|
||||||
A Parametric CAD System for the Web
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved.
|
|
||||||
|
|
||||||
Objects that select geometry
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
"""
|
"""
|
||||||
A Parametric CAD System for the Web
|
Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC
|
||||||
Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved.
|
|
||||||
|
|
||||||
A workplane object-- an extension of the core CQ object when a workplane is active
|
This file is part of CadQuery.
|
||||||
|
|
||||||
|
CadQuery is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
CadQuery 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
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; If not, see <http://www.gnu.org/licenses/>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
|
@ -12,12 +12,8 @@
|
||||||
# serve to show the default.
|
# serve to show the default.
|
||||||
|
|
||||||
import sys, os
|
import sys, os
|
||||||
|
import cadquery
|
||||||
|
|
||||||
sys.path.append('../apps')
|
|
||||||
sys.path.append('..')
|
|
||||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
|
||||||
|
|
||||||
from django.conf import settings
|
|
||||||
settings._target = None
|
settings._target = None
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user