├── .gitattributes ├── CHANGELOG.md ├── LICENSE ├── README.md ├── STLTool.mlappinstall ├── simplify.exe ├── simplify_lnx ├── simplify_mac ├── stltool-screenshot.png ├── stltool.m └── stltool.p /.gitattributes: -------------------------------------------------------------------------------- 1 | *.html linguist-detectable=false 2 | *.js linguist-detectable=false 3 | *.md linguist-detectable=false 4 | *.xml linguist-detectable=false 5 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | STLTool Changelog 2 | =================== 3 | 4 | 5 | 2019-10-23 version 1.0 6 | ---------------------- 7 | 8 | - Initial release 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | PRECISE SIMULATION LIMITED LICENSE 2 | 3 | IMPORTANT NOTICE 4 | 5 | READ THE TERMS AND CONDITIONS OF THIS PRECISE SIMULATION LIMITED 6 | LICENSE AGREEMENT (THE "AGREEMENT") CAREFULLY BEFORE ACCESSING THESE 7 | MATERIALS (AS DEFINED BELOW). 8 | 9 | THIS AGREEMENT REPRESENTS THE ENTIRE AGREEMENT BETWEEN YOU (THE 10 | "LICENSEE") AND THE PRECISE SIMULATION, LTD. ("PRECISE SIMULATION") 11 | CONCERNING THE SOFTWARE AND DOCUMENTATION MADE AVAILABLE FOR ACCESS 12 | HEREUNDER (COLLECTIVELY, THE "MATERIALS"). 13 | 14 | BY ACCESSING THESE MATERIALS, YOU ACCEPT THE TERMS OF THIS AGREEMENT. 15 | 16 | 1. DEFINITIONS. 17 | 18 | 1.1. "Licensee" means you, whether an individual or an entity, to 19 | whom Precise Simulation grants the License, and who is 20 | responsible for complying with the contractual obligations of 21 | the License, and ensuring that anyone permitted access to the 22 | Materials also complies with such obligations. 23 | 24 | 1.2. "Documentation" means the user guides, if any, accompanying 25 | delivery of the Materials, as may be updated from time to 26 | time, as well as any reports or other feedback that Precise 27 | Simulation may, in its sole discretion, provide to Licensee. 28 | Documentation may be delivered in printed and/or online 29 | forms, and in one or more languages. 30 | 31 | 1.3. "Licensor" means any person who, or entity which, grants a 32 | license to Precise Simulation to redistribute that person's 33 | or entity's intellectual property. 34 | 35 | 1.4. "Materials" means the computer software delivered and 36 | licensed hereunder, including Documentation, enhancements and 37 | error corrections. 38 | 39 | 1.5. "Third Party" means any person or legal entity that is not 40 | Precise Simulation or the Licensee. 41 | 42 | 2. LICENSE GRANT. Precise Simulation hereby grants to Licensee, 43 | subject to the terms of this Agreement, a nonexclusive, 44 | nontransferable, revocable license (the "License") to use the 45 | Materials internally or for the purpose of providing to Precise 46 | Simulation engineering feedback on the Materials, as the context 47 | may require. In all cases, the Materials are licensed to you 48 | solely for use in conjunction with Precise Simulation products and 49 | services. 50 | 51 | 3. LICENSE RESTRICTIONS. The License is subject to the express 52 | restrictions set forth below. Licensee shall not, and shall not 53 | permit any Third Party to: 54 | 55 | 3.1. modify, or create any derivative work of, any part of the 56 | licensed Materials 57 | 58 | 3.2. adapt, translate, copy, or convert all or any part of the 59 | Materials in order to create software or other materials, a 60 | principal purpose of which is (a) to perform the same or 61 | similar functions as the Materials or any other technology or 62 | materials licensed by Precise Simulation, or (b) to replace 63 | any component of the Materials or any other technology or 64 | materials licensed by Precise Simulation; 65 | 66 | 3.3. rent, lease, or loan the Materials; use the Materials for 67 | supporting Third Parties' use of the Materials, time share 68 | the Materials, or provide service bureau use; 69 | 70 | 3.4. disassemble, decompile, reverse engineer the Materials or 71 | otherwise attempt to gain access to its method of operation 72 | or source code (other than files provided for convenience in 73 | source code form by Precise Simulation); 74 | 75 | 3.5. sell, license, sublicense, publish, display, distribute, 76 | disseminate, assign, or otherwise transfer (whether by sale, 77 | exchange, lease, gift, or otherwise) to a Third Party the 78 | Materials, any copy or portion thereof, or any License or 79 | other rights thereto, in whole or in part, without Precise 80 | Simulation' prior written consent; 81 | 82 | 3.6. alter, remove, or obscure any copyright, trade secret, 83 | patent, trademark, logo, proprietary and/or other legal 84 | notices on or in copies of the Materials; 85 | 86 | 3.7. use Precise Simulation' name, trade names, logos, or other 87 | trademarks of Precise Simulation or any of its affiliates or 88 | Licensors in any advertising, promotional literature or any 89 | other material, whether in written, electronic, or other 90 | form, distributed to any Third Party, except in the form 91 | provided by Precise Simulation, and then solely for purposes 92 | of identifying Precise Simulation' Materials; 93 | 94 | 3.8. provide access (directly or indirectly) to the Materials via 95 | a web or network application other than the licensee's 96 | internal network; 97 | 98 | 3.9. copy, make available for copy, or otherwise reproduce the 99 | Materials, in whole or in part, except either (a) as may be 100 | required for their installation into computer memory for the 101 | purpose of executing the Materials in accordance with this 102 | Agreement; or (b) to make a reasonable number of copies 103 | solely for back-up purposes provided that any such permitted 104 | copies shall reproduce all copyright, trade secret, patent, 105 | logo, proprietary and/or other legal notices contained in the 106 | original copy obtained from Precise Simulation; and/or 107 | 3.10. republish the Documentation. 108 | 109 | 4. RETENTION OF RIGHT, TITLE AND INTEREST BY PRECISE SIMULATION AND 110 | ITS LICENSORS; CONFIDENTIALITY. The Materials shall at all times 111 | remain the property of Precise Simulation and/or its Licensors and 112 | Licensee shall have no right, title, or interest therein, except as 113 | expressly set forth in this Agreement. The Materials are a 114 | commercially valuable product of Precise Simulation, the design and 115 | development of which reflect the efforts of skilled development 116 | experts and the investment of considerable time and 117 | expense. Precise Simulation claims and reserves all rights and 118 | benefits afforded under all relevant laws and regulations. Licensee 119 | shall take appropriate action by instruction, agreement, or 120 | otherwise with any persons permitted access to the Materials, so as 121 | to enable Licensee to satisfy its obligations under the terms of 122 | this Agreement. The Materials are proprietary information of 123 | Precise Simulation, and are protected by copyright law, trade 124 | secret law and other applicable law. Although Precise Simulation 125 | may consider a commercial release of the Materials, it is under no 126 | obligation to do so and Precise Simulation reserves the right to 127 | alter features, licensing terms, or other characteristics of any 128 | such commercial release. 129 | 130 | 5. LICENSES FOR THIRD PARTY SOFTWARE. Precise Simulation has been 131 | granted licenses to distribute certain Third Party software. 132 | Certain Precise Simulation Materials require the use of Third Party 133 | software products that may require a separate license from such 134 | Third Parties to use those Third Party products. Licensee agrees 135 | and acknowledges that, to the extent that the Materials contain any 136 | Third Party software: (i) such Third Party software is provided on 137 | an "as-is", pass-through basis, and as such is provided to Licensee 138 | without warranty, indemnification, support or other representation 139 | by Precise Simulation; and (ii) Precise Simulation bears no 140 | liability with respect to such Third Party software. 141 | 142 | 6. TERM AND TERMINATION. This Agreement shall continue until 143 | termination by Precise Simulation or Licensee as provided below. 144 | Either party may terminate this Agreement at any time, for any 145 | reason, upon written notice to the other party. Upon termination, 146 | Licensee shall promptly return all but archival copies of the 147 | Materials in Licensee's possession or control, or promptly provide 148 | written certification of their destruction. 149 | 150 | 7. EXPORT CONTROL. The Materials may be subject to U.S. export 151 | control laws or other (U.S. and non-U.S.) governmental export and 152 | import laws and regulations. Notwithstanding any other term of 153 | this Agreement or Third Party agreement, Licensee's rights under 154 | this Agreement may not be exercised by Licensee or any Third Party 155 | in violation of such laws and regulations, nor may this Agreement 156 | be transferred to any party where doing so would result in such a 157 | violation. The terms of any limitation on the use, transfer or 158 | re-export of the Materials imposed by Precise Simulation in any 159 | Destination Control Statement or other document for the purpose of 160 | export control shall prevail over any term in this Agreement. It 161 | shall be Licensee's responsibility to comply with the latest United 162 | States or other governmental export and import regulations. 163 | 164 | 8. FEDERAL ACQUISITION. This provision applies to all acquisitions of 165 | the Materials and Documentation by, for, or through the federal 166 | government of the United States. By accepting delivery of the 167 | Materials or Documentation, the government hereby agrees that this 168 | software or documentation qualifies as commercial computer software 169 | or commercial computer software documentation as such terms are 170 | used or defined in FAR 12.212, DFARS Part 227.72, and DFARS 171 | 252.227-7014. Accordingly, the terms and conditions of this 172 | Agreement and only those rights specified in this Agreement, shall 173 | pertain to and govern the use, modification, reproduction, release, 174 | performance, display, and disclosure of the Materials and 175 | Documentation by the federal government (or other entity acquiring 176 | for or through the federal government) and shall supersede any 177 | conflicting contractual terms or conditions. If this License fails 178 | to meet the government's needs or is inconsistent in any respect 179 | with federal procurement law, the government agrees to return the 180 | Materials and Documentation, unused, to Precise Simulation. 181 | 182 | 9. FOR EUROPEAN UNION LICENSEES ONLY. Any contractual provisions of 183 | this Agreement contrary to laws implemented under Article 6 of 184 | Appendix V of the European Union Software Directive or to the 185 | exceptions provided for in Article 5(2) and (3) of such Appendix 186 | shall be null and void solely to the extent decompiling, 187 | disassembling, or otherwise reverse-engineering of the Materials is 188 | necessary to enable the Licensee to create an independent program 189 | that is interoperable with the Materials or any other permitted 190 | objectives specified by such laws implemented under such directive 191 | (collectively, the "Permitted Objectives"), provided that any such 192 | information gained is used solely for such Permitted Objectives. 193 | 194 | 10. ASSIGNMENT. Licensee may not assign or otherwise transfer this 195 | Agreement and its rights and obligations hereunder, in whole or in 196 | part, by operation of law or otherwise, without the written 197 | consent of Precise Simulation. In the case of any permitted 198 | assignment or transfer of or under this Agreement, this Agreement 199 | or the relevant provisions shall be binding upon, and inure to the 200 | benefit of, the successors, executors, heirs, representatives, 201 | administrators and assigns of the parties hereto. Precise 202 | Simulation may charge Licensee an administrative fee for any 203 | permitted assignment. 204 | 205 | 11. LIMITATION OF LIABILITY. The Materials should not be relied on as 206 | the sole basis to solve a problem or implement a design whose 207 | incorrect solution or implementation could result in injury to 208 | person or property. If the Materials are employed in such a 209 | manner, it is at the Licensee's own risk and Precise Simulation 210 | and its Licensors explicitly disclaim all liability for such 211 | misuse to the extent allowed by law. Precise Simulation' and its 212 | Licensors' liability for death or personal injury resulting from 213 | negligence or for any other matter in relation to which liability 214 | by law cannot be excluded or limited shall not be excluded or 215 | limited. Except as aforesaid, (a) any other liability of Precise 216 | Simulation and its Licensors (whether in relation to breach of 217 | contract, negligence or otherwise) shall not in total exceed one 218 | hundred dollars ($100.00); and (b) Precise Simulation and its 219 | Licensors shall have no liability for any indirect or 220 | consequential loss (whether foreseeable or otherwise and including 221 | loss of profits, loss of business, loss of opportunity, and loss 222 | of use of any computer hardware or software). Some states do not 223 | allow the exclusion or limitation of incidental or consequential 224 | damages, so the above exclusion or limitation may not apply to 225 | Licensee. 226 | 227 | 12. DISCLAIMER OF WARRANTIES. The Materials are delivered "as is" and 228 | Precise Simulation makes and the Licensee receives no additional 229 | express or implied warranties. Precise Simulation and its 230 | Licensors hereby expressly disclaim any and all other conditions, 231 | warranties, or other terms of any kind or nature concerning the 232 | Materials (including, without limitation, any with regard to 233 | infringement, merchantability, quality, accuracy, or fitness for a 234 | particular purpose or Licensee's purpose). Precise Simulation 235 | also expressly disclaims any warranties that may be implied from 236 | usage of trade, course of dealing, or course of performance. The 237 | Materials are provided with all faults, and the entire risk of 238 | satisfactory quality, performance, accuracy, and effort is with 239 | Licensee. Precise Simulation does not warrant that the Materials 240 | will operate without interruption or be error free. Some states 241 | and countries do not allow limitations on how long an implied 242 | warranty lasts, so the above limitation may not apply to Licensee. 243 | Licensee may also have other rights which vary from state to state 244 | and country to country. Licensee accepts responsibility for its 245 | use of the Materials and the results obtained therefrom. 246 | 247 | 13. GOVERNING LAW; JURISDICTION. This Agreement shall be interpreted, 248 | enforced and construed and the rights of the parties hereunder 249 | governed in all respects by the laws of the Commonwealth of 250 | Massachusetts, United States of America, without regard to its 251 | conflicts of law provisions, and both parties consent to the 252 | jurisdiction of the federal and state courts located in said 253 | Commonwealth and consent to the service of process, pleadings and 254 | notices in connection with any and all actions initiated in such 255 | courts. The parties agree that a final judgment in any such 256 | action or proceeding shall be conclusive and binding and may be 257 | enforced in any other jurisdiction. To the extent any governing 258 | law, treaty, or regulation is in conflict with this Agreement, the 259 | conflicting terms of this Agreement shall be superseded only to 260 | the extent necessary by such law, treaty, or regulation. If any 261 | provision of this Agreement shall be otherwise unlawful, void, or 262 | otherwise unenforceable, that provision shall be enforced to the 263 | maximum extent permissible. In either case, the remainder of this 264 | Agreement shall not be affected. The parties agree that the 265 | U.N. Convention on Contracts for the International Sale of Goods 266 | shall not apply to this Agreement. The parties further agree that 267 | the Uniform Computer Information Transactions Act, or any version 268 | thereof, adopted by any state, in any form ("UCITA"), shall not 269 | apply to this Agreement. To the extent that UCITA is applicable, 270 | the parties agree to opt out of the applicability of UCITA 271 | pursuant to the Opt-Out provision(s) contained therein. 272 | 273 | 14. HEADINGS. The inclusion of headings is for convenience of 274 | reference only and shall not affect the construction or 275 | interpretation of this Agreement. 276 | 277 | 15. ENTIRE AGREEMENT. This Agreement, together with any additional 278 | license_addendum.txt file included with the Materials, contains the 279 | entire understanding of the parties with regard to the Materials, and 280 | may not be modified or amended except by written instrument, executed 281 | by authorized representatives of Precise Simulation and Licensee. 282 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | STLTool - STL CAD Geometry Pre-Processing Toolbox for MATLAB® 2 | =============================================================== 3 | 4 | 5 | ![STLTool Screenshot](https://raw.githubusercontent.com/precise-simulation/stltool/master/stltool-screenshot.png) 6 | 7 | 8 | About 9 | ----- 10 | 11 | **STLTool** is a MATLAB® toolbox for pre-processing STL CAD geometries 12 | for use with the [FEATool Multiphysics](https://www.featool.com) 13 | PDE simulation toolbox. 14 | 15 | 16 | Features 17 | -------- 18 | 19 | - Supports binary and ascii STL and OBJ CAD geometry formats 20 | - Polygon reduction using 21 | [fast quadratic mesh simplification](https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification) 22 | by Sven Forstmann or alternatively the built-in reducepatch function 23 | - Boundary and feature identification (saved as different ascii STL 24 | solid segments) 25 | 26 | 27 | License 28 | ------- 29 | 30 | (C) Copyright 2013-2021 by Precise Simulation Ltd. 31 | All Rights Reserved. 32 | 33 | STLTool™ and FEATool Multiphysics™ are trademarks of Precise 34 | Simulation Limited. MATLAB® is a registered trademark of The 35 | MathWorks, Inc. All other trademarks are the property of their 36 | respective owners. Precise Simulation Ltd and its products are not 37 | affiliated with, endorsed, sponsored, or supported by these trademark 38 | owners. 39 | 40 | Carefully read the included license terms and conditions before 41 | installing or using the programs or documentation. Installing or using 42 | the programs means you have accepted and agree to be bound by the 43 | terms and conditions of this agreement. if you do not accept them, 44 | uninstall, remove and completely delete the programs and 45 | documentation. 46 | 47 | Third Party licenses include the _Fast Quadric Mesh Simplification_ 48 | Copyright (C) 2015-2019 Sven Forstmann, MIT License. 49 | -------------------------------------------------------------------------------- /STLTool.mlappinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/precise-simulation/stltool/1568459bb173a01d423a515628f6b67094c0ad11/STLTool.mlappinstall -------------------------------------------------------------------------------- /simplify.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/precise-simulation/stltool/1568459bb173a01d423a515628f6b67094c0ad11/simplify.exe -------------------------------------------------------------------------------- /simplify_lnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/precise-simulation/stltool/1568459bb173a01d423a515628f6b67094c0ad11/simplify_lnx -------------------------------------------------------------------------------- /simplify_mac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/precise-simulation/stltool/1568459bb173a01d423a515628f6b67094c0ad11/simplify_mac -------------------------------------------------------------------------------- /stltool-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/precise-simulation/stltool/1568459bb173a01d423a515628f6b67094c0ad11/stltool-screenshot.png -------------------------------------------------------------------------------- /stltool.m: -------------------------------------------------------------------------------- 1 | function stltool() 2 | % STLTool - STL CAD Geometry Pre-Processing Toolbox for MATLAB® 3 | % =============================================================== 4 | % 5 | % 6 | % ![STLTool Screenshot](stltool-screenshot.png) 7 | % 8 | % 9 | % About 10 | % ----- 11 | % 12 | % **STLTool** is a MATLAB® toolbox for pre-processing STL CAD geometries 13 | % for use with the [FEATool Multiphysics](https://www.featool.com) 14 | % PDE simulation toolbox. 15 | % 16 | % 17 | % Features 18 | % -------- 19 | % 20 | % - Supports binary and ascii STL and OBJ CAD geometry formats 21 | % - Polygon reduction using 22 | % [fast quadratic mesh simplification](https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification) 23 | % by Sven Forstmann or alternatively the built-in reducepatch function 24 | % - Boundary and feature identification (saved as different ascii STL 25 | % solid segments) 26 | % 27 | % 28 | 29 | % License 30 | % ------- 31 | % 32 | % (C) Copyright 2013-2021 by Precise Simulation Ltd. 33 | % All Rights Reserved. 34 | % 35 | % STLTool™ and FEATool Multiphysics™ are trademarks of Precise 36 | % Simulation Limited. MATLAB® is a registered trademark of The 37 | % MathWorks, Inc. All other trademarks are the property of their 38 | % respective owners. Precise Simulation Ltd and its products are not 39 | % affiliated with, endorsed, sponsored, or supported by these trademark 40 | % owners. 41 | % 42 | % Carefully read the included license terms and conditions before 43 | % installing or using the programs or documentation. Installing or using 44 | % the programs means you have accepted and agree to be bound by the 45 | % terms and conditions of this agreement. if you do not accept them, 46 | % uninstall, remove and completely delete the programs and 47 | % documentation. 48 | % 49 | % Third Party licenses include the _Fast Quadric Mesh Simplification_ 50 | % Copyright (C) 2015-2019 Sven Forstmann, MIT License. 51 | 52 | % PRECISE SIMULATION LIMITED LICENSE 53 | % 54 | % IMPORTANT NOTICE 55 | % 56 | % READ THE TERMS AND CONDITIONS OF THIS PRECISE SIMULATION LIMITED 57 | % LICENSE AGREEMENT (THE "AGREEMENT") CAREFULLY BEFORE ACCESSING THESE 58 | % MATERIALS (AS DEFINED BELOW). 59 | % 60 | % THIS AGREEMENT REPRESENTS THE ENTIRE AGREEMENT BETWEEN YOU (THE 61 | % "LICENSEE") AND THE PRECISE SIMULATION, LTD. ("PRECISE SIMULATION") 62 | % CONCERNING THE SOFTWARE AND DOCUMENTATION MADE AVAILABLE FOR ACCESS 63 | % HEREUNDER (COLLECTIVELY, THE "MATERIALS"). 64 | % 65 | % BY ACCESSING THESE MATERIALS, YOU ACCEPT THE TERMS OF THIS AGREEMENT. 66 | % 67 | % 1. DEFINITIONS. 68 | % 69 | % 1.1. "Licensee" means you, whether an individual or an entity, to 70 | % whom Precise Simulation grants the License, and who is 71 | % responsible for complying with the contractual obligations of 72 | % the License, and ensuring that anyone permitted access to the 73 | % Materials also complies with such obligations. 74 | % 75 | % 1.2. "Documentation" means the user guides, if any, accompanying 76 | % delivery of the Materials, as may be updated from time to 77 | % time, as well as any reports or other feedback that Precise 78 | % Simulation may, in its sole discretion, provide to Licensee. 79 | % Documentation may be delivered in printed and/or online 80 | % forms, and in one or more languages. 81 | % 82 | % 1.3. "Licensor" means any person who, or entity which, grants a 83 | % license to Precise Simulation to redistribute that person's 84 | % or entity's intellectual property. 85 | % 86 | % 1.4. "Materials" means the computer software delivered and 87 | % licensed hereunder, including Documentation, enhancements and 88 | % error corrections. 89 | % 90 | % 1.5. "Third Party" means any person or legal entity that is not 91 | % Precise Simulation or the Licensee. 92 | % 93 | % 2. LICENSE GRANT. Precise Simulation hereby grants to Licensee, 94 | % subject to the terms of this Agreement, a nonexclusive, 95 | % nontransferable, revocable license (the "License") to use the 96 | % Materials internally or for the purpose of providing to Precise 97 | % Simulation engineering feedback on the Materials, as the context 98 | % may require. In all cases, the Materials are licensed to you 99 | % solely for use in conjunction with Precise Simulation products and 100 | % services. 101 | % 102 | % 3. LICENSE RESTRICTIONS. The License is subject to the express 103 | % restrictions set forth below. Licensee shall not, and shall not 104 | % permit any Third Party to: 105 | % 106 | % 3.1. modify, or create any derivative work of, any part of the 107 | % licensed Materials 108 | % 109 | % 3.2. adapt, translate, copy, or convert all or any part of the 110 | % Materials in order to create software or other materials, a 111 | % principal purpose of which is (a) to perform the same or 112 | % similar functions as the Materials or any other technology or 113 | % materials licensed by Precise Simulation, or (b) to replace 114 | % any component of the Materials or any other technology or 115 | % materials licensed by Precise Simulation; 116 | % 117 | % 3.3. rent, lease, or loan the Materials; use the Materials for 118 | % supporting Third Parties' use of the Materials, time share 119 | % the Materials, or provide service bureau use; 120 | % 121 | % 3.4. disassemble, decompile, reverse engineer the Materials or 122 | % otherwise attempt to gain access to its method of operation 123 | % or source code (other than files provided for convenience in 124 | % source code form by Precise Simulation); 125 | % 126 | % 3.5. sell, license, sublicense, publish, display, distribute, 127 | % disseminate, assign, or otherwise transfer (whether by sale, 128 | % exchange, lease, gift, or otherwise) to a Third Party the 129 | % Materials, any copy or portion thereof, or any License or 130 | % other rights thereto, in whole or in part, without Precise 131 | % Simulation' prior written consent; 132 | % 133 | % 3.6. alter, remove, or obscure any copyright, trade secret, 134 | % patent, trademark, logo, proprietary and/or other legal 135 | % notices on or in copies of the Materials; 136 | % 137 | % 3.7. use Precise Simulation' name, trade names, logos, or other 138 | % trademarks of Precise Simulation or any of its affiliates or 139 | % Licensors in any advertising, promotional literature or any 140 | % other material, whether in written, electronic, or other 141 | % form, distributed to any Third Party, except in the form 142 | % provided by Precise Simulation, and then solely for purposes 143 | % of identifying Precise Simulation' Materials; 144 | % 145 | % 3.8. provide access (directly or indirectly) to the Materials via 146 | % a web or network application other than the licensee's 147 | % internal network; 148 | % 149 | % 3.9. copy, make available for copy, or otherwise reproduce the 150 | % Materials, in whole or in part, except either (a) as may be 151 | % required for their installation into computer memory for the 152 | % purpose of executing the Materials in accordance with this 153 | % Agreement; or (b) to make a reasonable number of copies 154 | % solely for back-up purposes provided that any such permitted 155 | % copies shall reproduce all copyright, trade secret, patent, 156 | % logo, proprietary and/or other legal notices contained in the 157 | % original copy obtained from Precise Simulation; and/or 158 | % 3.10. republish the Documentation. 159 | % 160 | % 4. RETENTION OF RIGHT, TITLE AND INTEREST BY PRECISE SIMULATION AND 161 | % ITS LICENSORS; CONFIDENTIALITY. The Materials shall at all times 162 | % remain the property of Precise Simulation and/or its Licensors and 163 | % Licensee shall have no right, title, or interest therein, except as 164 | % expressly set forth in this Agreement. The Materials are a 165 | % commercially valuable product of Precise Simulation, the design and 166 | % development of which reflect the efforts of skilled development 167 | % experts and the investment of considerable time and 168 | % expense. Precise Simulation claims and reserves all rights and 169 | % benefits afforded under all relevant laws and regulations. Licensee 170 | % shall take appropriate action by instruction, agreement, or 171 | % otherwise with any persons permitted access to the Materials, so as 172 | % to enable Licensee to satisfy its obligations under the terms of 173 | % this Agreement. The Materials are proprietary information of 174 | % Precise Simulation, and are protected by copyright law, trade 175 | % secret law and other applicable law. Although Precise Simulation 176 | % may consider a commercial release of the Materials, it is under no 177 | % obligation to do so and Precise Simulation reserves the right to 178 | % alter features, licensing terms, or other characteristics of any 179 | % such commercial release. 180 | % 181 | % 5. LICENSES FOR THIRD PARTY SOFTWARE. Precise Simulation has been 182 | % granted licenses to distribute certain Third Party software. 183 | % Certain Precise Simulation Materials require the use of Third Party 184 | % software products that may require a separate license from such 185 | % Third Parties to use those Third Party products. Licensee agrees 186 | % and acknowledges that, to the extent that the Materials contain any 187 | % Third Party software: (i) such Third Party software is provided on 188 | % an "as-is", pass-through basis, and as such is provided to Licensee 189 | % without warranty, indemnification, support or other representation 190 | % by Precise Simulation; and (ii) Precise Simulation bears no 191 | % liability with respect to such Third Party software. 192 | % 193 | % 6. TERM AND TERMINATION. This Agreement shall continue until 194 | % termination by Precise Simulation or Licensee as provided below. 195 | % Either party may terminate this Agreement at any time, for any 196 | % reason, upon written notice to the other party. Upon termination, 197 | % Licensee shall promptly return all but archival copies of the 198 | % Materials in Licensee's possession or control, or promptly provide 199 | % written certification of their destruction. 200 | % 201 | % 7. EXPORT CONTROL. The Materials may be subject to U.S. export 202 | % control laws or other (U.S. and non-U.S.) governmental export and 203 | % import laws and regulations. Notwithstanding any other term of 204 | % this Agreement or Third Party agreement, Licensee's rights under 205 | % this Agreement may not be exercised by Licensee or any Third Party 206 | % in violation of such laws and regulations, nor may this Agreement 207 | % be transferred to any party where doing so would result in such a 208 | % violation. The terms of any limitation on the use, transfer or 209 | % re-export of the Materials imposed by Precise Simulation in any 210 | % Destination Control Statement or other document for the purpose of 211 | % export control shall prevail over any term in this Agreement. It 212 | % shall be Licensee's responsibility to comply with the latest United 213 | % States or other governmental export and import regulations. 214 | % 215 | % 8. FEDERAL ACQUISITION. This provision applies to all acquisitions of 216 | % the Materials and Documentation by, for, or through the federal 217 | % government of the United States. By accepting delivery of the 218 | % Materials or Documentation, the government hereby agrees that this 219 | % software or documentation qualifies as commercial computer software 220 | % or commercial computer software documentation as such terms are 221 | % used or defined in FAR 12.212, DFARS Part 227.72, and DFARS 222 | % 252.227-7014. Accordingly, the terms and conditions of this 223 | % Agreement and only those rights specified in this Agreement, shall 224 | % pertain to and govern the use, modification, reproduction, release, 225 | % performance, display, and disclosure of the Materials and 226 | % Documentation by the federal government (or other entity acquiring 227 | % for or through the federal government) and shall supersede any 228 | % conflicting contractual terms or conditions. If this License fails 229 | % to meet the government's needs or is inconsistent in any respect 230 | % with federal procurement law, the government agrees to return the 231 | % Materials and Documentation, unused, to Precise Simulation. 232 | % 233 | % 9. FOR EUROPEAN UNION LICENSEES ONLY. Any contractual provisions of 234 | % this Agreement contrary to laws implemented under Article 6 of 235 | % Appendix V of the European Union Software Directive or to the 236 | % exceptions provided for in Article 5(2) and (3) of such Appendix 237 | % shall be null and void solely to the extent decompiling, 238 | % disassembling, or otherwise reverse-engineering of the Materials is 239 | % necessary to enable the Licensee to create an independent program 240 | % that is interoperable with the Materials or any other permitted 241 | % objectives specified by such laws implemented under such directive 242 | % (collectively, the "Permitted Objectives"), provided that any such 243 | % information gained is used solely for such Permitted Objectives. 244 | % 245 | % 10. ASSIGNMENT. Licensee may not assign or otherwise transfer this 246 | % Agreement and its rights and obligations hereunder, in whole or in 247 | % part, by operation of law or otherwise, without the written 248 | % consent of Precise Simulation. In the case of any permitted 249 | % assignment or transfer of or under this Agreement, this Agreement 250 | % or the relevant provisions shall be binding upon, and inure to the 251 | % benefit of, the successors, executors, heirs, representatives, 252 | % administrators and assigns of the parties hereto. Precise 253 | % Simulation may charge Licensee an administrative fee for any 254 | % permitted assignment. 255 | % 256 | % 11. LIMITATION OF LIABILITY. The Materials should not be relied on as 257 | % the sole basis to solve a problem or implement a design whose 258 | % incorrect solution or implementation could result in injury to 259 | % person or property. If the Materials are employed in such a 260 | % manner, it is at the Licensee's own risk and Precise Simulation 261 | % and its Licensors explicitly disclaim all liability for such 262 | % misuse to the extent allowed by law. Precise Simulation' and its 263 | % Licensors' liability for death or personal injury resulting from 264 | % negligence or for any other matter in relation to which liability 265 | % by law cannot be excluded or limited shall not be excluded or 266 | % limited. Except as aforesaid, (a) any other liability of Precise 267 | % Simulation and its Licensors (whether in relation to breach of 268 | % contract, negligence or otherwise) shall not in total exceed one 269 | % hundred dollars ($100.00); and (b) Precise Simulation and its 270 | % Licensors shall have no liability for any indirect or 271 | % consequential loss (whether foreseeable or otherwise and including 272 | % loss of profits, loss of business, loss of opportunity, and loss 273 | % of use of any computer hardware or software). Some states do not 274 | % allow the exclusion or limitation of incidental or consequential 275 | % damages, so the above exclusion or limitation may not apply to 276 | % Licensee. 277 | % 278 | % 12. DISCLAIMER OF WARRANTIES. The Materials are delivered "as is" and 279 | % Precise Simulation makes and the Licensee receives no additional 280 | % express or implied warranties. Precise Simulation and its 281 | % Licensors hereby expressly disclaim any and all other conditions, 282 | % warranties, or other terms of any kind or nature concerning the 283 | % Materials (including, without limitation, any with regard to 284 | % infringement, merchantability, quality, accuracy, or fitness for a 285 | % particular purpose or Licensee's purpose). Precise Simulation 286 | % also expressly disclaims any warranties that may be implied from 287 | % usage of trade, course of dealing, or course of performance. The 288 | % Materials are provided with all faults, and the entire risk of 289 | % satisfactory quality, performance, accuracy, and effort is with 290 | % Licensee. Precise Simulation does not warrant that the Materials 291 | % will operate without interruption or be error free. Some states 292 | % and countries do not allow limitations on how long an implied 293 | % warranty lasts, so the above limitation may not apply to Licensee. 294 | % Licensee may also have other rights which vary from state to state 295 | % and country to country. Licensee accepts responsibility for its 296 | % use of the Materials and the results obtained therefrom. 297 | % 298 | % 13. GOVERNING LAW; JURISDICTION. This Agreement shall be interpreted, 299 | % enforced and construed and the rights of the parties hereunder 300 | % governed in all respects by the laws of the Commonwealth of 301 | % Massachusetts, United States of America, without regard to its 302 | % conflicts of law provisions, and both parties consent to the 303 | % jurisdiction of the federal and state courts located in said 304 | % Commonwealth and consent to the service of process, pleadings and 305 | % notices in connection with any and all actions initiated in such 306 | % courts. The parties agree that a final judgment in any such 307 | % action or proceeding shall be conclusive and binding and may be 308 | % enforced in any other jurisdiction. To the extent any governing 309 | % law, treaty, or regulation is in conflict with this Agreement, the 310 | % conflicting terms of this Agreement shall be superseded only to 311 | % the extent necessary by such law, treaty, or regulation. If any 312 | % provision of this Agreement shall be otherwise unlawful, void, or 313 | % otherwise unenforceable, that provision shall be enforced to the 314 | % maximum extent permissible. In either case, the remainder of this 315 | % Agreement shall not be affected. The parties agree that the 316 | % U.N. Convention on Contracts for the International Sale of Goods 317 | % shall not apply to this Agreement. The parties further agree that 318 | % the Uniform Computer Information Transactions Act, or any version 319 | % thereof, adopted by any state, in any form ("UCITA"), shall not 320 | % apply to this Agreement. To the extent that UCITA is applicable, 321 | % the parties agree to opt out of the applicability of UCITA 322 | % pursuant to the Opt-Out provision(s) contained therein. 323 | % 324 | % 14. HEADINGS. The inclusion of headings is for convenience of 325 | % reference only and shall not affect the construction or 326 | % interpretation of this Agreement. 327 | % 328 | % 15. ENTIRE AGREEMENT. This Agreement, together with any additional 329 | % license_addendum.txt file included with the Materials, contains the 330 | % entire understanding of the parties with regard to the Materials, and 331 | % may not be modified or amended except by written instrument, executed 332 | % by authorized representatives of Precise Simulation and Licensee. 333 | -------------------------------------------------------------------------------- /stltool.p: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/precise-simulation/stltool/1568459bb173a01d423a515628f6b67094c0ad11/stltool.p --------------------------------------------------------------------------------