renombrabdo--quitando copincha en los nombre sde carpeta

This commit is contained in:
Maurice Haedo Sanabria 2023-08-08 13:34:35 -04:00
parent 2bd79778fb
commit ca07a6be0d
132 changed files with 3735 additions and 3735 deletions

172
LICENSE
View File

@ -1,86 +1,86 @@
AFFERO GENERAL PUBLIC LICENSE AFFERO GENERAL PUBLIC LICENSE
Version 1, March 2002 Copyright © 2002 Affero Inc. 510 Third Street - Suite 225, San Francisco, CA 94107, USA Version 1, March 2002 Copyright © 2002 Affero Inc. 510 Third Street - Suite 225, San Francisco, CA 94107, USA
This license is a modified version of the GNU General Public License copyright (C) 1989, 1991 Free Software Foundation, Inc. made with their permission. Section 2(d) has been added to cover use of software over a computer network. This license is a modified version of the GNU General Public License copyright (C) 1989, 1991 Free Software Foundation, Inc. made with their permission. Section 2(d) has been added to cover use of software over a computer network.
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble Preamble
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the Affero General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This Public License applies to most of Affero's software and to any other program whose authors commit to using it. (Some other Affero software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. The licenses for most software are designed to take away your freedom to share and change it. By contrast, the Affero General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This Public License applies to most of Affero's software and to any other program whose authors commit to using it. (Some other Affero software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. This General Public License is designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. When we speak of free software, we are referring to freedom, not price. This General Public License is designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification follow. The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this Affero General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this Affero General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
d) If the Program as you received it is intended to interact with users through a computer network and if, in the version you received, any user interacting with the Program was given the opportunity to request transmission to that user of the Program's complete source code, you must not remove that facility from your modified version of the Program or work based on the Program, and must offer an equivalent opportunity for all users interacting with your Program through a computer network to request immediate transmission by HTTP of the complete source code of your modified version or other derivative work. d) If the Program as you received it is intended to interact with users through a computer network and if, in the version you received, any user interacting with the Program was given the opportunity to request transmission to that user of the Program's complete source code, you must not remove that facility from your modified version of the Program or work based on the Program, and must offer an equivalent opportunity for all users interacting with your Program through a computer network to request immediate transmission by HTTP of the complete source code of your modified version or other derivative work.
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
9. Affero Inc. may publish revised and/or new versions of the Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. 9. Affero Inc. may publish revised and/or new versions of the Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by Affero, Inc. If the Program does not specify a version number of this License, you may choose any version ever published by Affero, Inc. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by Affero, Inc. If the Program does not specify a version number of this License, you may choose any version ever published by Affero, Inc.
You may also choose to redistribute modified versions of this program under any version of the Free Software Foundation's GNU General Public License version 3 or higher, so long as that version of the GNU GPL includes terms and conditions substantially equivalent to those of this license. You may also choose to redistribute modified versions of this program under any version of the Free Software Foundation's GNU General Public License version 3 or higher, so long as that version of the GNU GPL includes terms and conditions substantially equivalent to those of this license.
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by Affero, Inc., write to us; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by Affero, Inc., write to us; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
NO WARRANTY NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

View File

@ -1,2 +1,2 @@
# copincha # copincha

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -1,12 +1,12 @@
nombre_completo: "Ernesto Acevedo Nuñez" nombre_completo: "Ernesto Acevedo Nuñez"
nombre_corto: "acevedo" nombre_corto: "acevedo"
telefono: "+5352886079" telefono: "+5352886079"
email: "ernestoacevedonunez@gmail.com" email: "ernestoacevedonunez@gmail.com"
dia_nacimiento: "" dia_nacimiento: ""
direccion: "" direccion: ""
geo: "23.106478, -82.321609" geo: "23.106478, -82.321609"
cuenta_bancaria: "9224959879650271" cuenta_bancaria: "9224959879650271"
titulo: "" titulo: ""
organizacion: "" organizacion: ""
descripcion: "" descripcion: ""
servicios: "impresion 3d" servicios: "impresion 3d"

View File

@ -1,12 +1,12 @@
nombre_completo: "Ernesto Acevedo Nuñez" nombre_completo: "Ernesto Acevedo Nuñez"
nombre_corto: "acevedo" nombre_corto: "acevedo"
telefono: "+5352886079" telefono: "+5352886079"
email: "ernestoacevedonunez@gmail.com" email: "ernestoacevedonunez@gmail.com"
dia_nacimiento: "" dia_nacimiento: ""
direccion: "" direccion: ""
geo: "23.106478, -82.321609" geo: "23.106478, -82.321609"
cuenta_bancaria: "9224959879650271" cuenta_bancaria: "9224959879650271"
titulo: "" titulo: ""
organizacion: "" organizacion: ""
descripcion: "" descripcion: ""
servicios: "impresion 3d" servicios: "impresion 3d"

View File

@ -1,14 +1,14 @@
nombre_completo: "Eduardo Perez Pujol" nombre_completo: "Eduardo Perez Pujol"
nombre_corto: "kopek" nombre_corto: "kopek"
telefono: "+5353442140" telefono: "+5353442140"
email: "" email: ""
dia_nacimiento: "" dia_nacimiento: ""
direccion: "" direccion: ""
geo: "23.106478, -82.321609" geo: "23.106478, -82.321609"
cuenta_bancaria: "9225959876016566" cuenta_bancaria: "9225959876016566"
titulo: "" titulo: ""
organizacion: "" organizacion: ""
descripcion: "" descripcion: ""
servicios: "impresion 3D" servicios: "impresion 3D"

View File

@ -1,12 +1,12 @@
nombre_completo: "Ernesto Acevedo Nuñez" nombre_completo: "Ernesto Acevedo Nuñez"
nombre_corto: "acevedo" nombre_corto: "acevedo"
telefono: "+5352886079" telefono: "+5352886079"
email: "ernestoacevedonunez@gmail.com" email: "ernestoacevedonunez@gmail.com"
dia_nacimiento: "" dia_nacimiento: ""
direccion: "" direccion: ""
geo: "23.106478, -82.321609" geo: "23.106478, -82.321609"
cuenta_bancaria: "9224959879650271" cuenta_bancaria: "9224959879650271"
titulo: "" titulo: ""
organizacion: "" organizacion: ""
descripcion: "" descripcion: ""
servicios: "impresion 3d" servicios: "impresion 3d"

View File

@ -1,12 +1,12 @@
nombre_completo: "" nombre_completo: ""
nombre_corto: "" nombre_corto: ""
telefono: "" telefono: ""
email: "" email: ""
dia_nacimiento: "" dia_nacimiento: ""
direccion: "" direccion: ""
geo: "" -- geolocalizacion de su direccion geo: "" -- geolocalizacion de su direccion
cuenta_bancaria: "" cuenta_bancaria: ""
titulo: "" titulo: ""
organizaciones: "" -- organizaciones a las que pertenece organizaciones: "" -- organizaciones a las que pertenece
descripcion: "" -- una breve descripción de Ud. descripcion: "" -- una breve descripción de Ud.
servicios: "" servicios: ""

View File

@ -1,12 +1,12 @@
nombre_completo: "Ernesto Acevedo Nuñez" nombre_completo: "Ernesto Acevedo Nuñez"
nombre_corto: "acevedo" nombre_corto: "acevedo"
telefono: "+5352886079" telefono: "+5352886079"
email: "ernestoacevedonunez@gmail.com" email: "ernestoacevedonunez@gmail.com"
dia_nacimiento: "" dia_nacimiento: ""
direccion: "" direccion: ""
geo: "23.106478, -82.321609" geo: "23.106478, -82.321609"
cuenta_bancaria: "9224959879650271" cuenta_bancaria: "9224959879650271"
titulo: "" titulo: ""
organizacion: "" organizacion: ""
descripcion: "" descripcion: ""
servicios: "impresion 3d" servicios: "impresion 3d"

View File

@ -1,12 +1,12 @@
nombre_completo: "Ernesto Acevedo Nuñez" nombre_completo: "Ernesto Acevedo Nuñez"
nombre_corto: "acevedo" nombre_corto: "acevedo"
telefono: "+5352886079" telefono: "+5352886079"
email: "ernestoacevedonunez@gmail.com" email: "ernestoacevedonunez@gmail.com"
dia_nacimiento: "" dia_nacimiento: ""
direccion: "" direccion: ""
geo: "23.106478, -82.321609" geo: "23.106478, -82.321609"
cuenta_bancaria: "9224959879650271" cuenta_bancaria: "9224959879650271"
titulo: "" titulo: ""
organizacion: "" organizacion: ""
descripcion: "" descripcion: ""
servicios: "impresion 3d" servicios: "impresion 3d"

View File

@ -1,13 +1,13 @@
--por favor, rellene los campos colocando la información dentro de las comillas. --por favor, rellene los campos colocando la información dentro de las comillas.
nombre_completo: "" nombre_completo: ""
nombre_corto: "" nombre_corto: ""
telefono: "" telefono: ""
email: "" email: ""
fecha_nacimiento: "" fecha_nacimiento: ""
direccion: "" direccion: ""
geo: "" -- geolocalizacion de su direccion geo: "" -- geolocalizacion de su direccion
titulo: "" titulo: ""
profesion: "" profesion: ""
organizaciones: "" -- organizaciones a las que pertenece organizaciones: "" -- organizaciones a las que pertenece
descripcion: "" -- una breve descripción de Ud (200 palabras). descripcion: "" -- una breve descripción de Ud (200 palabras).

View File

@ -1,6 +1,6 @@
//modulos //modulos
use <"./component--joint--tee.scad">; use <"./component--joint--tee.scad">;
joint_tee(); joint_tee();

View File

@ -1,5 +1,5 @@
module joint_tee(size=60) module joint_tee(size=60)
{ {
cube(size,center=true); cube(size,center=true);
}; };
joint_tee(); joint_tee();

View File

@ -1,6 +1,6 @@
module pipe(diam=30, hight=500) module pipe(diam=30, hight=500)
{ {
cylinder(d=diam,h=hight,center=true); cylinder(d=diam,h=hight,center=true);
}; };
pipe(); pipe();

View File

@ -1,30 +1,30 @@
radius = 20; radius = 20;
angles = [0, 90]; angles = [0, 90];
width = 5; width = 5;
fn = 24; fn = 24;
module sector(radius, angles, fn = 24) { module sector(radius, angles, fn = 24) {
r = radius / cos(180 / fn); r = radius / cos(180 / fn);
step = -360 / fn; step = -360 / fn;
points = concat([[0, 0]], points = concat([[0, 0]],
[for(a = [angles[0] : step : angles[1] - 360]) [for(a = [angles[0] : step : angles[1] - 360])
[r * cos(a), r * sin(a)] [r * cos(a), r * sin(a)]
], ],
[[r * cos(angles[1]), r * sin(angles[1])]] [[r * cos(angles[1]), r * sin(angles[1])]]
); );
difference() { difference() {
circle(radius, $fn = fn); circle(radius, $fn = fn);
polygon(points); polygon(points);
} }
} }
module arc(radius, angles, width = 1, fn = 24) { module arc(radius, angles, width = 1, fn = 24) {
difference() { difference() {
sector(radius + width, angles, fn); sector(radius + width, angles, fn);
sector(radius, angles, fn); sector(radius, angles, fn);
} }
} }
linear_extrude(1) arc(radius, angles, width); linear_extrude(1) arc(radius, angles, width);

View File

@ -1,228 +1,228 @@
//modules //modules
use <./component--joint--tee.scad>; use <./component--joint--tee.scad>;
use <./component--pipe.scad>; use <./component--pipe.scad>;
{ //parameters { //parameters
{ {
caster_hight=135; caster_hight=135;
caster_widht=50; caster_widht=50;
joint_tee_size=60; joint_tee_size=60;
pipe_diameter=26.67; pipe_diameter=26.67;
} }
{ {
table_widht=600; table_widht=600;
table_length=1800; table_length=1800;
table_hight=700; table_hight=700;
} }
{ {
base_bottom_center=caster_hight+joint_tee_size/2; base_bottom_center=caster_hight+joint_tee_size/2;
base_top_center=table_hight-joint_tee_size/2; base_top_center=table_hight-joint_tee_size/2;
} }
{ {
base_widht=table_widht-2*(0)/2; base_widht=table_widht-2*(0)/2;
base_length=table_length-2*(0)/2; base_length=table_length-2*(0)/2;
} }
{ {
assembly_offset=5; assembly_offset=5;
} }
} }
{ //operations { //operations
{ //positioning { //positioning
point_node=( point_node=(
[ [
[base_widht/2,base_length/2,base_bottom_center] [base_widht/2,base_length/2,base_bottom_center]
] ]
); );
point_pipe_horizontal=( point_pipe_horizontal=(
[ [
[base_widht/4,base_length/2,base_bottom_center], [base_widht/4,base_length/2,base_bottom_center],
[base_widht/4,base_length/2,base_top_center], [base_widht/4,base_length/2,base_top_center],
] ]
); );
point_central_node=( point_central_node=(
[ [
[0,base_length/2,base_bottom_center], [0,base_length/2,base_bottom_center],
[0,base_length/2,base_top_center], [0,base_length/2,base_top_center],
] ]
); );
point_pipe=( point_pipe=(
[ [
[base_widht/2,base_length/2,caster_hight+(base_top_center-caster_hight)/2], [base_widht/2,base_length/2,caster_hight+(base_top_center-caster_hight)/2],
] ]
); );
point_caster=( point_caster=(
[ [
[base_widht/2,base_length/2,caster_hight/2], [base_widht/2,base_length/2,caster_hight/2],
] ]
); );
point_crossbar=( point_crossbar=(
[ [
[0,0,base_bottom_center], [0,0,base_bottom_center],
[0,0,base_top_center], [0,0,base_top_center],
] ]
); );
point_node_top=( point_node_top=(
[ [
[base_widht/2,base_length/2,base_top_center], [base_widht/2,base_length/2,base_top_center],
] ]
); );
} }
{ //modules { //modules
color("yellow") color("yellow")
crossbars(); crossbars();
laterals(); laterals();
module laterals() module laterals()
{ {
lateral_mid(); lateral_mid();
lateral_mid_mirror(); lateral_mid_mirror();
} }
module lateral_mid() module lateral_mid()
{ {
lateral_quarter(); lateral_quarter();
lateral_quarter_mirror(); lateral_quarter_mirror();
node_pos_central(); node_pos_central();
} }
module lateral_quarter() module lateral_quarter()
{ {
color("blue") color("blue")
caster(); caster();
color("red") color("red")
for (pos=point_node) for (pos=point_node)
translate(pos) translate(pos)
node_bottom(); node_bottom();
color("orange") color("orange")
pipe_vertical(); pipe_vertical();
color("orange") color("orange")
pipe_horizontal_pos(); pipe_horizontal_pos();
color("green") color("green")
node_top(); node_top();
} }
module node_bottom() module node_bottom()
{ {
joint_tee(size=joint_tee_size); joint_tee(size=joint_tee_size);
}; };
module pipe_vertical() module pipe_vertical()
{ {
for (pos=point_pipe) for (pos=point_pipe)
translate(pos) translate(pos)
pipe(diam=pipe_diameter,hight=base_top_center-caster_hight-joint_tee_size+2*assembly_offset); pipe(diam=pipe_diameter,hight=base_top_center-caster_hight-joint_tee_size+2*assembly_offset);
}; };
module pipe_horizontal_pos () module pipe_horizontal_pos ()
{ {
for (pos=point_pipe_horizontal) for (pos=point_pipe_horizontal)
translate(pos) translate(pos)
pipe_horizontal(); pipe_horizontal();
}; };
module pipe_horizontal() module pipe_horizontal()
{ {
rotate([0,90,0]) rotate([0,90,0])
pipe(diam=pipe_diameter,hight=base_widht/2-joint_tee_size+2*assembly_offset); pipe(diam=pipe_diameter,hight=base_widht/2-joint_tee_size+2*assembly_offset);
}; };
module caster() module caster()
{ {
for (pos=point_caster) for (pos=point_caster)
translate(pos) translate(pos)
rotate([0,90,0]) rotate([0,90,0])
cylinder(h=caster_widht,r=caster_hight/2,center=true); cylinder(h=caster_widht,r=caster_hight/2,center=true);
}; };
module node_top() module node_top()
{ {
for (pos=point_node_top) for (pos=point_node_top)
translate(pos) translate(pos)
cube(size=joint_tee_size,center=true); cube(size=joint_tee_size,center=true);
}; };
module lateral_quarter_mirror() module lateral_quarter_mirror()
{ {
mirror([1,0,0]) mirror([1,0,0])
lateral_quarter(); lateral_quarter();
}; };
module lateral_mid_mirror() module lateral_mid_mirror()
{ {
mirror([1,0,0]) mirror([1,0,0])
lateral_mid(); lateral_mid();
} }
module node_pos_central() module node_pos_central()
{ {
color("red") color("red")
for (pos=point_central_node) for (pos=point_central_node)
translate(pos) translate(pos)
joint_tee(size=joint_tee_size); joint_tee(size=joint_tee_size);
} }
module lateral_mid_mirror() module lateral_mid_mirror()
{ {
mirror([0,1,0]) mirror([0,1,0])
lateral_mid(); lateral_mid();
}; };
module crossbars() module crossbars()
{ {
color("red") color("red")
for (pos=point_crossbar) for (pos=point_crossbar)
translate(pos) translate(pos)
crossbar(); crossbar();
} }
module crossbar() module crossbar()
{ {
rotate([90,0,0]) rotate([90,0,0])
pipe(diam=pipe_diameter,hight=base_length-joint_tee_size+2*assembly_offset); pipe(diam=pipe_diameter,hight=base_length-joint_tee_size+2*assembly_offset);
} }
} }
} }

View File

@ -1,15 +1,15 @@
//modulos //modulos
use <./tee.scad>; use <./tee.scad>;
base_ancho=1000; base_ancho=1000;
base_largo=500; base_largo=500;
altura=700; altura=700;
altura_rueda=100; altura_rueda=100;
point=([[1,1,1],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda]]); point=([[1,1,1],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda]]);
for (pos=point) for (pos=point)
translate(pos) translate(pos)
color("white") color("white")
cube(30); cube(30);

View File

@ -1,16 +1,16 @@
//modulos //modulos
use <./tee.scad>; use <./tee.scad>;
//base_ancho=1000; //base_ancho=1000;
//base_largo=500; //base_largo=500;
//altura=700; //altura=700;
//altura_rueda=100; //altura_rueda=100;
//point([[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda]]) //point([[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda],[base_ancho,0,altura_rueda]])
// //
//for (pos=point) //for (pos=point)
translate(pos) translate(pos)
color("white") color("white")
tee(size=5,ribs=true,hex=false, type="std",qual=100); tee(size=5,ribs=true,hex=false, type="std",qual=100);

View File

@ -1,74 +1,74 @@
//BSP_form(); //BSP_form();
//BSP_thread(pitch=25.4/14,dia=1.041*25.4,threads = 7,draw_inc=1000); //BSP_thread(pitch=25.4/14,dia=1.041*25.4,threads = 7,draw_inc=1000);
//************************************************** //**************************************************
//Horrible module to rotate a slice //Horrible module to rotate a slice
//************************************************** //**************************************************
module BSP_thread(pitch=1.814,dia=18.613,threads = 1,draw_inc=360){ module BSP_thread(pitch=1.814,dia=18.613,threads = 1,draw_inc=360){
a_move = (360*threads)/draw_inc; a_move = (360*threads)/draw_inc;
function x_move(i) = dia-(sin(i*a_move)*dia); function x_move(i) = dia-(sin(i*a_move)*dia);
function y_move(i) = dia+(cos(i*a_move)*dia); function y_move(i) = dia+(cos(i*a_move)*dia);
function z_move(i) = i * (pitch*threads)/draw_inc; function z_move(i) = i * (pitch*threads)/draw_inc;
function z_rot(i) = 90 + (i * a_move); function z_rot(i) = 90 + (i * a_move);
union(){ union(){
for(i = [0:draw_inc]) for(i = [0:draw_inc])
{ {
echo(i,x_move(i),y_move(i),z_move(i)); echo(i,x_move(i),y_move(i),z_move(i));
translate([x_move(i), translate([x_move(i),
y_move(i), y_move(i),
z_move(i)]) z_move(i)])
rotate([90, rotate([90,
0, 0,
z_rot(i)]) z_rot(i)])
linear_extrude(height = 2.2*(threads*3.142*dia)/draw_inc, linear_extrude(height = 2.2*(threads*3.142*dia)/draw_inc,
center = true, center = true,
convexity = 10, convexity = 10,
twist = 0, twist = 0,
$fn = 100) $fn = 100)
BSP_form(P=pitch,D=dia,AA=55); BSP_form(P=pitch,D=dia,AA=55);
} }
} }
} }
//************************************************** //**************************************************
//Flat Thread Form For Extrusion //Flat Thread Form For Extrusion
//************************************************** //**************************************************
module BSP_form( male=true, P=1.814,D=18.613,AA=55,$fn=30){ module BSP_form( male=true, P=1.814,D=18.613,AA=55,$fn=30){
/* male, is the form a male of female thread /* male, is the form a male of female thread
P, Pitch P, Pitch
D, diameter D, diameter
AA, form angle AA, form angle
*/ */
tr = P * 0.137329; //end radius tr = P * 0.137329; //end radius
th = P*0.640327; //thread form height th = P*0.640327; //thread form height
AA2 = AA/2; //functional angle AA2 = AA/2; //functional angle
tvv = cos(AA2)*tr; //height of tangent point tvv = cos(AA2)*tr; //height of tangent point
thv = sin(AA2)*tr; //horizontal of tanget thv = sin(AA2)*tr; //horizontal of tanget
cc = (th)-tr; //end radius circle centre cc = (th)-tr; //end radius circle centre
tc = cc + thv; tc = cc + thv;
thh = tan(AA2)*th; thh = tan(AA2)*th;
tbh = thh + tvv; tbh = thh + tvv;
//echo(tvv,thv,tc,thh); //echo(tvv,thv,tc,thh);
//************************************************** //**************************************************
//rotate([90,0,0]) //rotate([90,0,0])
union(){ union(){
translate([cc,0])circle(r=tr); translate([cc,0])circle(r=tr);
polygon(points = [ [0, tbh], polygon(points = [ [0, tbh],
[tc, tvv], [tc, tvv],
[tc, -tvv], [tc, -tvv],
[0, -tbh]]); [0, -tbh]]);
} }
} }

View File

@ -1,220 +1,220 @@
/* /*
elbows's elbows's
By the DoomMeister By the DoomMeister
//Released under the terms of the GNU GPL v3.0 //Released under the terms of the GNU GPL v3.0
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
** **
WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised
media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice. media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice.
** **
This file will generate a range of elbow Type Pipe fittings either with threads or without, this This file will generate a range of elbow Type Pipe fittings either with threads or without, this
means that the resulting part could be a functional pipe fitting or used as a pattern for casting. means that the resulting part could be a functional pipe fitting or used as a pattern for casting.
Dimensions are generally to BS 143. Options are avilible for ribs and re-enforced hexagonal ends Dimensions are generally to BS 143. Options are avilible for ribs and re-enforced hexagonal ends
*/ */
use<fitting_end.scad>; use<fitting_end.scad>;
use<hex_form.scad>; use<hex_form.scad>;
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test - Comment Out for Module Usage //Test - Comment Out for Module Usage
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//socket(); //socket();
_test(); _test();
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test Module - Example usages //Test Module - Example usages
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module _test(){ module _test(){
elbow(); elbow();
translate([50,0,0])color("grey") translate([50,0,0])color("grey")
elbow(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200); elbow(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200);
translate([110,0,0])color("blue") translate([110,0,0])color("blue")
elbow(size=1,type="std",threads=false,ribs=true,hex=true,qual=100); elbow(size=1,type="std",threads=false,ribs=true,hex=true,qual=100);
translate([120,-50,0])color("green") translate([120,-50,0])color("green")
elbow(size=3/8,type="std",qual=50); elbow(size=3/8,type="std",qual=50);
translate([50,-50,0])color("orange") translate([50,-50,0])color("orange")
elbow(size=0.25,hex=false, type="std",qual=100); elbow(size=0.25,hex=false, type="std",qual=100);
translate([0,100,0])color("pink") translate([0,100,0])color("pink")
elbow(size=5/4,type="std",ribs=true,hex=false,qual=120); elbow(size=5/4,type="std",ribs=true,hex=false,qual=120);
translate([70,100,0])color("Indigo") translate([70,100,0])color("Indigo")
elbow(size=1.5,hex=false,hex=true, type="std",qual=120); elbow(size=1.5,hex=false,hex=true, type="std",qual=120);
translate([160,100,0])color("white") translate([160,100,0])color("white")
elbow(size=2,type="std",threads=true,ribs=true,hex=true,qual=25); elbow(size=2,type="std",threads=true,ribs=true,hex=true,qual=25);
translate([0,200,0])color("brown") translate([0,200,0])color("brown")
elbow(size=2.5,hex=true, type="std",qual=100); elbow(size=2.5,hex=true, type="std",qual=100);
translate([150,270,0])color("LightSkyBlue") translate([150,270,0])color("LightSkyBlue")
elbow(size=3,ribs=true,hex=true, type="std",qual=100); elbow(size=3,ribs=true,hex=true, type="std",qual=100);
translate([-20,400,0])color("OliveDrab") translate([-20,400,0])color("OliveDrab")
elbow(size=4,ribs=true,hex=true, type="std",qual=100); elbow(size=4,ribs=true,hex=true, type="std",qual=100);
translate([150,450,0])color("DarkGoldenrod") translate([150,450,0])color("DarkGoldenrod")
elbow(size=5,ribs=true,hex=false, type="std",qual=100); elbow(size=5,ribs=true,hex=false, type="std",qual=100);
translate([0,700,0])color("red") translate([0,700,0])color("red")
elbow(size=6,type="std",threads=true,ribs=false,hex=true,qual=25); elbow(size=6,type="std",threads=true,ribs=false,hex=true,qual=25);
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Outer Module - Negotiates sizes and calls correct sub module //Outer Module - Negotiates sizes and calls correct sub module
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module elbow(size=0.5,type="std",threads=false,ribs=false,hex=false,qual=50){ module elbow(size=0.5,type="std",threads=false,ribs=false,hex=false,qual=50){
if(size==0.25){ if(size==0.25){
if(type=="std"){ if(type=="std"){
_elbow(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=21,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=21,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.375){ if(size==0.375){
if(type=="std"){ if(type=="std"){
_elbow(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=25,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=25,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.5){ if(size==0.5){
if(type=="std"){ if(type=="std"){
_elbow(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=28,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=28,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.75){ if(size==0.75){
if(type=="std"){ if(type=="std"){
_elbow(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=33,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=33,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1){ if(size==1){
if(type=="std"){ if(type=="std"){
_elbow(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=38,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=38,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.25){ if(size==1.25){
if(type=="std"){ if(type=="std"){
_socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=45,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=45,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.5){ if(size==1.5){
if(type=="std"){ if(type=="std"){
_elbow(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=50,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=50,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2){ if(size==2){
if(type=="std"){ if(type=="std"){
_elbow(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=58,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=58,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2.5){ if(size==2.5){
if(type=="std"){ if(type=="std"){
_elbow(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=69,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=69,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==3){ if(size==3){
if(type=="std"){ if(type=="std"){
_elbow(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=78,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=78,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==4){ if(size==4){
if(type=="std"){ if(type=="std"){
_elbow(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=96,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=96,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==5){ if(size==5){
if(type=="std"){ if(type=="std"){
_elbow(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=115,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=115,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==6){ if(size==6){
if(type=="std"){ if(type=="std"){
_elbow(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=131,threads=threads,ribs=ribs,hex=hex,qual=qual); _elbow(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=131,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//inner modules //inner modules
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//module to make equal elbow //module to make equal elbow
module _elbow(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){ module _elbow(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){
pid = pod -(pt*2); pid = pod -(pt*2);
pitch = 1/tpi; pitch = 1/tpi;
t = pt; //thickness t = pt; //thickness
ir = pod/2; //internal rad ir = pod/2; //internal rad
tcr = core *0.5*25.4; //thread core rad tcr = core *0.5*25.4; //thread core rad
tl = pitch * 25.4 * 7; //thread length tl = pitch * 25.4 * 7; //thread length
chl = pitch *25.4*0.5; //corner chamfer; chl = pitch *25.4*0.5; //corner chamfer;
or = ir + t; //outer radius or = ir + t; //outer radius
rr = ir + (1.5*t); //reenforced radius rr = ir + (1.5*t); //reenforced radius
echo(pod,pid,pod/25.4,pid/25.4,pitch,rr); echo(pod,pid,pod/25.4,pid/25.4,pitch,rr);
difference(){ difference(){
union(){ union(){
if(threads){ if(threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
translate([0,-a,a]) translate([0,-a,a])
rotate([270,0,0]) rotate([270,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
} }
if(!threads){ if(!threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
translate([0,-a,a]) translate([0,-a,a])
rotate([270,0,0]) rotate([270,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
} }
translate([0,0,a]) translate([0,0,a])
sphere(r=or,$fn=qual); sphere(r=or,$fn=qual);
if(ribs){ if(ribs){
/* /*
rotate([0,0,90]) rotate([0,0,90])
difference(){ difference(){
union(){ union(){
translate([ir,-t,0]) translate([ir,-t,0])
cube([rr-ir,2*t,a*2]); cube([rr-ir,2*t,a*2]);
//translate([-rr,-t,0]) //translate([-rr,-t,0])
//cube([rr-ir,2*t,a*2]); //cube([rr-ir,2*t,a*2]);
} }
difference(){ difference(){
cylinder(r=rr+t,h=a*2,$fn=qual); cylinder(r=rr+t,h=a*2,$fn=qual);
cylinder(r=rr,h=a*2,$fn=qual); cylinder(r=rr,h=a*2,$fn=qual);
} }
} }
*/ */
} }
if(hex){ if(hex){
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
translate([0,-a+(3*t),a])rotate([90,0,0]) translate([0,-a+(3*t),a])rotate([90,0,0])
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
} }
} }
//Cutout middle section //Cutout middle section
translate([0,0,(tl)]) translate([0,0,(tl)])
cylinder(r=ir, h=a-tl,$fn=qual); cylinder(r=ir, h=a-tl,$fn=qual);
translate([0,0,(a)])rotate([90,0,0]) translate([0,0,(a)])rotate([90,0,0])
cylinder(r=ir, h=a-tl,$fn=qual); cylinder(r=ir, h=a-tl,$fn=qual);
translate([0,0,(a)])rotate([90,0,0]) translate([0,0,(a)])rotate([90,0,0])
sphere(r=ir,$fn=qual); sphere(r=ir,$fn=qual);
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

View File

@ -1,123 +1,123 @@
/* /*
Threaded fitting Ends Threaded fitting Ends
By the DoomMeister By the DoomMeister
v1.0 v1.0
//Released under the terms of the GNU GPL v3.0 //Released under the terms of the GNU GPL v3.0
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
** **
WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised
media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice. media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice.
** **
This file will generate a range of Threaded Ends For Pipe fittings either with threads or without, this This file will generate a range of Threaded Ends For Pipe fittings either with threads or without, this
means that the resulting part could be a functional pipe fitting or used as a pattern for casting. means that the resulting part could be a functional pipe fitting or used as a pattern for casting.
Dimensions are generally to BS 143, thread sizes to BS 21. Dimensions are generally to BS 143, thread sizes to BS 21.
*/ */
use<threads.scad> use<threads.scad>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test Area - uncomment to draw //Test Area - uncomment to draw
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
/* /*
fitting_end(l=30,no_threads=9,threads=true); fitting_end(l=30,no_threads=9,threads=true);
translate([30,0,0]) translate([30,0,0])
fitting_end(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,l=17,no_threads=7,threads=true,male=true,qual=20); fitting_end(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,l=17,no_threads=7,threads=true,male=true,qual=20);
*/ */
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Inner Module //Inner Module
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module fitting_end(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,l=34,no_threads=7,threads=false,male=false,qual=20){ module fitting_end(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,l=34,no_threads=7,threads=false,male=false,qual=20){
pid = pod -(pt*2); pid = pod -(pt*2);
pitch = 1/tpi; pitch = 1/tpi;
t = pt; //thickness t = pt; //thickness
ir = pod/2; //internal rad ir = pod/2; //internal rad
tcr = core *0.5*25.4; //thread core rad tcr = core *0.5*25.4; //thread core rad
tl = pitch * 25.4 * no_threads; //thread length tl = pitch * 25.4 * no_threads; //thread length
chl = pitch *25.4*0.5; //corner chamfer; chl = pitch *25.4*0.5; //corner chamfer;
or = ir + t; //outer radius or = ir + t; //outer radius
rr = ir + (1.5*t); //reenforced radius rr = ir + (1.5*t); //reenforced radius
tor = od * 0.5 * 25.4; //thread max radiaus tor = od * 0.5 * 25.4; //thread max radiaus
echo(pod,pid,pod/25.4,pid/25.4,pitch,rr,"threads=",no_threads); echo(pod,pid,pod/25.4,pid/25.4,pitch,rr,"threads=",no_threads);
if(l>tl){ if(l>tl){
if(!male){ if(!male){
union(){ union(){
difference(){ difference(){
//form body //form body
rotate_extrude(convexity=4,$fn=qual) rotate_extrude(convexity=4,$fn=qual)
//rotate([90,0,0]) //rotate([90,0,0])
polygon( points=[[ir,0],[tcr,chl],[tcr,tl-chl], polygon( points=[[ir,0],[tcr,chl],[tcr,tl-chl],
[ir,tl],[ir,l],[or,l], [ir,tl],[ir,l],[or,l],
[or,l-(2*t)],[or,(2*t)], [or,l-(2*t)],[or,(2*t)],
[rr,t],[rr,0]] ); [rr,t],[rr,0]] );
//cut threads //cut threads
if(threads){ if(threads){
english_thread(diameter=od, threads_per_inch=tpi, length=pitch * no_threads,internal=true, n_starts=1,tq=qual); english_thread(diameter=od, threads_per_inch=tpi, length=pitch * no_threads,internal=true, n_starts=1,tq=qual);
} }
} }
} }
} }
if(male){ if(male){
if(threads){ if(threads){
union(){ union(){
//form body //form body
rotate_extrude(convexity=4,$fn=qual) rotate_extrude(convexity=4,$fn=qual)
//rotate([90,0,0]) //rotate([90,0,0])
polygon( points=[[ir-t,0], polygon( points=[[ir-t,0],
[ir-t,l],[ir,l], [ir-t,l],[ir,l],
[ir,tl],[tcr,tl-chl], [ir,tl],[tcr,tl-chl],
[tcr,0]] ); [tcr,0]] );
//cut threads //cut threads
difference(){ difference(){
english_thread(diameter=od, threads_per_inch=tpi, length=pitch * no_threads,internal=false, n_starts=1,tq=qual); english_thread(diameter=od, threads_per_inch=tpi, length=pitch * no_threads,internal=false, n_starts=1,tq=qual);
cylinder(r=ir-t,h=tl,$fn=qual); cylinder(r=ir-t,h=tl,$fn=qual);
} }
} }
} }
if(!threads){ if(!threads){
rotate_extrude(convexity=4,$fn=qual) rotate_extrude(convexity=4,$fn=qual)
//rotate([90,0,0]) //rotate([90,0,0])
polygon( points=[[ir-t,0], polygon( points=[[ir-t,0],
[ir-t,l],[ir,l], [ir-t,l],[ir,l],
[ir,tl],[tor,tl-chl], [ir,tl],[tor,tl-chl],
[tor,chl],[tor-chl,0]] ); [tor,chl],[tor-chl,0]] );
} }
} }
if(l<tl){ if(l<tl){
echo("length of end peice is less than thread length"); echo("length of end peice is less than thread length");
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// //
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

View File

@ -1,57 +1,57 @@
/* /*
Hex (or other polygon) form for making nuts and such Hex (or other polygon) form for making nuts and such
By the DoomMeister By the DoomMeister
//Released under the terms of the GNU GPL v3.0 //Released under the terms of the GNU GPL v3.0
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
** **
WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised
media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice. media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice.
** **
This file will generate a range a hexeagon or ocogon or n... sided forn for use as a nut or re-enforcement This file will generate a range a hexeagon or ocogon or n... sided forn for use as a nut or re-enforcement
*/ */
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test - Comment Out for Module Usage //Test - Comment Out for Module Usage
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//hex_form(); //hex_form();
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Module //Module
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module hex_form(height=12,hex_id=21.70,wall_thickness=3.2,sides=8,inclination=1.1,qual=100){ module hex_form(height=12,hex_id=21.70,wall_thickness=3.2,sides=8,inclination=1.1,qual=100){
hh = height/3; hh = height/3;
t = wall_thickness; //thickness t = wall_thickness; //thickness
ir = hex_id/2; //internal rad ir = hex_id/2; //internal rad
rr = ir + (1.5*t); //reenforced radius rr = ir + (1.5*t); //reenforced radius
inc = inclination; inc = inclination;
difference(){ difference(){
translate([0,0,0]) translate([0,0,0])
rotate_extrude(convexity=4,$fn=qual) rotate_extrude(convexity=4,$fn=qual)
//rotate([90,0,0]) //rotate([90,0,0])
polygon( points=[[rr,0],[ir,0],[ir,hh*3],[rr,hh*3],[inc*rr,hh*2],[inc*rr,hh]]); polygon( points=[[rr,0],[ir,0],[ir,hh*3],[rr,hh*3],[inc*rr,hh*2],[inc*rr,hh]]);
translate([0,0,0]) translate([0,0,0])
difference(){ difference(){
cylinder(r=1.5*rr+t,h=3*hh,$fn=qual); cylinder(r=1.5*rr+t,h=3*hh,$fn=qual);
cylinder(r=1.1*rr+(0.0*t),h=3*hh,$fn=sides); cylinder(r=1.1*rr+(0.0*t),h=3*hh,$fn=sides);
} }
} }
} }

View File

@ -1,5 +1,5 @@
use <./tee.scad> use <./tee.scad>
translate([0,700,0])color("red") translate([0,700,0])color("red")
tee(size=6,type="std",threads=true,ribs=false,hex=true,qual=25); tee(size=6,type="std",threads=true,ribs=false,hex=true,qual=25);

View File

@ -1,218 +1,218 @@
/* /*
Simple screwed pipe generator Simple screwed pipe generator
By the DoomMeister By the DoomMeister
V1.0 V1.0
//Released under the terms of the GNU GPL v3.0 //Released under the terms of the GNU GPL v3.0
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
** **
WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised
media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice. media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice.
** **
This file will generate a range of Socket Type Pipe fittings either with threads or without, this This file will generate a range of Socket Type Pipe fittings either with threads or without, this
means that the resulting part could be a functional pipe fitting or used as a pattern for casting. means that the resulting part could be a functional pipe fitting or used as a pattern for casting.
Dimensions are generally to BS 1387 heavy. Dimensions are generally to BS 1387 heavy.
*/ */
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
use<fitting_end.scad>; use<fitting_end.scad>;
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//test area - comment out to use as module //test area - comment out to use as module
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
pipe(size=0.5,length=100,threads=true); pipe(size=0.5,length=100,threads=true);
/* /*
translate([40,0,0])color("orange") translate([40,0,0])color("orange")
_pipe(pod=21.7,pt=3.2,od= 0.825,core=0.734,tpi=14,length=200,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=100); _pipe(pod=21.7,pt=3.2,od= 0.825,core=0.734,tpi=14,length=200,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=100);
translate([100,0,0])color("indigo") pipe(size=2,qual=25); translate([100,0,0])color("indigo") pipe(size=2,qual=25);
*/ */
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//outer module - calls standard sizes //outer module - calls standard sizes
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module pipe(size=0.5,type="std",threads=true,length=100,qual=50){ module pipe(size=0.5,type="std",threads=true,length=100,qual=50){
if(size==0.25){ if(size==0.25){
if(threads){ if(threads){
_pipe(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,length=200,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,length=200,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,length=200,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,length=200,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==0.375){ if(size==0.375){
if(threads){ if(threads){
_pipe(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==0.5){ if(size==0.5){
if(threads){ if(threads){
_pipe(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==0.75){ if(size==0.75){
if(threads){ if(threads){
_pipe(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==1){ if(size==1){
if(threads){ if(threads){
_pipe(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==1.25){ if(size==1.25){
if(threads){ if(threads){
_pipe(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==1.5){ if(size==1.5){
if(threads){ if(threads){
_pipe(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==2){ if(size==2){
if(threads){ if(threads){
_pipe(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==2.5){ if(size==2.5){
if(threads){ if(threads){
_pipe(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==3){ if(size==3){
if(threads){ if(threads){
_pipe(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==4){ if(size==4){
if(threads){ if(threads){
_pipe(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==5){ if(size==5){
if(threads){ if(threads){
_pipe(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
if(size==6){ if(size==6){
if(threads){ if(threads){
_pipe(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,length=length,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,qual=qual);
} }
if(!threads){ if(!threads){
_pipe(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual); _pipe(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,length=length,thread_1=false,thread_2=false,no_threads_1=9,no_threads_2=9,qual=qual);
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//inner module - draws pipe //inner module - draws pipe
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module _pipe(pod=34.20,pt=4,length=150,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,od= 1.309,core=1.193,tpi=11,qual=20){ module _pipe(pod=34.20,pt=4,length=150,thread_1=true,thread_2=true,no_threads_1=9,no_threads_2=9,od= 1.309,core=1.193,tpi=11,qual=20){
union(){ union(){
if(thread_1){ if(thread_1){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_1,threads=true,male=true,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_1,threads=true,male=true,qual=qual);
} }
if(!thread_1){ if(!thread_1){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_1,threads=false,male=true,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_1,threads=false,male=true,qual=qual);
} }
if(thread_2){ if(thread_2){
translate([0,0,length]) translate([0,0,length])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_2,threads=true,male=true,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_2,threads=true,male=true,qual=qual);
} }
if(!thread_2){ if(!thread_2){
translate([0,0,length]) translate([0,0,length])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_2,threads=false,male=true,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=length/2,no_threads=no_threads_2,threads=false,male=true,qual=qual);
} }
//add the actual pipe //add the actual pipe
if(thread_1){ if(thread_1){
if (thread_2){ if (thread_2){
translate([0,0,no_threads_1*(25.4/tpi)]) translate([0,0,no_threads_1*(25.4/tpi)])
difference(){ difference(){
cylinder(h=length-(no_threads_1*(25.4/tpi)+no_threads_2*(25.4/tpi)),r1=pod/2,r2=pod/2,$fn=qual); cylinder(h=length-(no_threads_1*(25.4/tpi)+no_threads_2*(25.4/tpi)),r1=pod/2,r2=pod/2,$fn=qual);
cylinder(h=length-(no_threads_1*(25.4/tpi)+no_threads_2*(25.4/tpi)),r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual); cylinder(h=length-(no_threads_1*(25.4/tpi)+no_threads_2*(25.4/tpi)),r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual);
} }
} }
if (!thread_2){ if (!thread_2){
translate([0,0,no_threads_1*(25.4/tpi)]) translate([0,0,no_threads_1*(25.4/tpi)])
difference(){ difference(){
cylinder(h=length-(no_threads_1*(25.4/tpi)),r1=pod/2,r2=pod/2,$fn=qual); cylinder(h=length-(no_threads_1*(25.4/tpi)),r1=pod/2,r2=pod/2,$fn=qual);
cylinder(h=length-(no_threads_1*(25.4/tpi)),r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual); cylinder(h=length-(no_threads_1*(25.4/tpi)),r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual);
} }
} }
} }
if(!thread_1){ if(!thread_1){
if (thread_2){ if (thread_2){
difference(){ difference(){
cylinder(h=length-(no_threads_2*(25.4/tpi)),r1=pod/2,r2=pod/2,$fn=qual); cylinder(h=length-(no_threads_2*(25.4/tpi)),r1=pod/2,r2=pod/2,$fn=qual);
cylinder(h=length- (no_threads_2*(25.4/tpi)),r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual); cylinder(h=length- (no_threads_2*(25.4/tpi)),r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual);
} }
} }
if (!thread_2){ if (!thread_2){
difference(){ difference(){
cylinder(h=length,r1=pod/2,r2=pod/2,$fn=qual); cylinder(h=length,r1=pod/2,r2=pod/2,$fn=qual);
cylinder(h=length,r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual); cylinder(h=length,r1=(pod-pt)/2,r2=(pod-pt)/2,$fn=qual);
} }
} }
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

View File

@ -1,204 +1,204 @@
/* /*
Sockets Sockets
By the DoomMeister By the DoomMeister
//Released under the terms of the GNU GPL v3.0 //Released under the terms of the GNU GPL v3.0
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
** **
WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised
media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice. media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice.
** **
This file will generate a range of Socket Type Pipe fittings either with threads or without, this This file will generate a range of Socket Type Pipe fittings either with threads or without, this
means that the resulting part could be a functional pipe fitting or used as a pattern for casting. means that the resulting part could be a functional pipe fitting or used as a pattern for casting.
Dimensions are generally to BS 143. Dimensions are generally to BS 143.
V1.0 V1.0
V1.1 - Refined Hexagon Re-Enforcement V1.1 - Refined Hexagon Re-Enforcement
*/ */
use<fitting_end.scad>; use<fitting_end.scad>;
use<hex_form.scad>; use<hex_form.scad>;
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test - Comment Out for Module Usage //Test - Comment Out for Module Usage
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
socket(hex=true); socket(hex=true);
socket_test(); socket_test();
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test Module - Example usages //Test Module - Example usages
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module socket_test(){ module socket_test(){
socket(); socket();
translate([50,0,0])color("grey") translate([50,0,0])color("grey")
socket(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200); socket(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200);
translate([110,0,0])color("blue") translate([110,0,0])color("blue")
socket(size=1,type="std",threads=true,ribs=true,hex=false,qual=120); socket(size=1,type="std",threads=true,ribs=true,hex=false,qual=120);
translate([110,-50,0])color("green") translate([110,-50,0])color("green")
socket(size=3/8,type="std",qual=50); socket(size=3/8,type="std",qual=50);
translate([50,-50,0])color("orange") translate([50,-50,0])color("orange")
socket(size=0.25,hex=false, type="std",qual=100); socket(size=0.25,hex=false, type="std",qual=100);
translate([0,70,0])color("pink") translate([0,70,0])color("pink")
socket(size=5/4,type="std",ribs=true,hex=false,qual=120); socket(size=5/4,type="std",ribs=true,hex=false,qual=120);
translate([70,70,0])color("Indigo") translate([70,70,0])color("Indigo")
socket(size=1.5,hex=false,threads=true, type="std",qual=100); socket(size=1.5,hex=false,threads=true, type="std",qual=100);
translate([160,70,0])color("white") translate([160,70,0])color("white")
socket(size=2,hex=true, type="std",qual=100); socket(size=2,hex=true, type="std",qual=100);
translate([0,160,0])color("brown") translate([0,160,0])color("brown")
socket(size=2.5,hex=true, type="std",qual=100); socket(size=2.5,hex=true, type="std",qual=100);
translate([150,175,0])color("LightSkyBlue") translate([150,175,0])color("LightSkyBlue")
socket(size=3,ribs=true,hex=true, type="std",qual=100); socket(size=3,ribs=true,hex=true, type="std",qual=100);
translate([1,300,0])color("OliveDrab") translate([1,300,0])color("OliveDrab")
socket(size=4,ribs=true,hex=true, type="std",qual=100); socket(size=4,ribs=true,hex=true, type="std",qual=100);
translate([150,300,0])color("DarkGoldenrod") translate([150,300,0])color("DarkGoldenrod")
socket(size=5,ribs=true,hex=false, type="std",qual=100); socket(size=5,ribs=true,hex=false, type="std",qual=100);
translate([0,500,0])color("red") translate([0,500,0])color("red")
socket(size=6,ribs=true,hex=true, type="std",qual=100); socket(size=6,ribs=true,hex=true, type="std",qual=100);
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Outer Module - Negotiates sizes and calls correct sub module //Outer Module - Negotiates sizes and calls correct sub module
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module socket(size=0.5,type="std",threads=false,ribs=false,hex=true,qual=50){ module socket(size=0.5,type="std",threads=false,ribs=false,hex=true,qual=50){
if(size==0.25){ if(size==0.25){
if(type=="std"){ if(type=="std"){
_socket(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=25.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=25.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.375){ if(size==0.375){
if(type=="std"){ if(type=="std"){
_socket(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=28.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=28.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.5){ if(size==0.5){
if(type=="std"){ if(type=="std"){
_socket(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.75){ if(size==0.75){
if(type=="std"){ if(type=="std"){
_socket(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=37,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=37,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1){ if(size==1){
if(type=="std"){ if(type=="std"){
_socket(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=43,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=43,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.25){ if(size==1.25){
if(type=="std"){ if(type=="std"){
_socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=48,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=48,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.5){ if(size==1.5){
if(type=="std"){ if(type=="std"){
_socket(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=52.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=52.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2){ if(size==2){
if(type=="std"){ if(type=="std"){
_socket(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=62.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=62.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2.5){ if(size==2.5){
if(type=="std"){ if(type=="std"){
_socket(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=71.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=71.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==3){ if(size==3){
if(type=="std"){ if(type=="std"){
_socket(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=77,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=77,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==4){ if(size==4){
if(type=="std"){ if(type=="std"){
_socket(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=91,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=91,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==5){ if(size==5){
if(type=="std"){ if(type=="std"){
_socket(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=105.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=105.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==6){ if(size==6){
if(type=="std"){ if(type=="std"){
_socket(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=116.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=116.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//inner modules //inner modules
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//module to make equal socket //module to make equal socket
module _socket(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){ module _socket(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){
pid = pod -(pt*2); pid = pod -(pt*2);
pitch = 1/tpi; pitch = 1/tpi;
t = pt; //thickness t = pt; //thickness
ir = pod/2; //internal rad ir = pod/2; //internal rad
tcr = core *0.5*25.4; //thread core rad tcr = core *0.5*25.4; //thread core rad
tl = pitch * 25.4 * 7; //thread length tl = pitch * 25.4 * 7; //thread length
chl = pitch *25.4*0.5; //corner chamfer; chl = pitch *25.4*0.5; //corner chamfer;
or = ir + t; //outer radius or = ir + t; //outer radius
rr = ir + (1.5*t); //reenforced radius rr = ir + (1.5*t); //reenforced radius
echo(pod,pid,pod/25.4,pid/25.4,pitch,rr); echo(pod,pid,pod/25.4,pid/25.4,pitch,rr);
union(){ union(){
if(threads){ if(threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=true,male=false,qual=qual);
translate([0,0,a]) translate([0,0,a])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=true,male=false,qual=qual);
} }
if(!threads){ if(!threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=false,male=false,qual=qual);
translate([0,0,a]) translate([0,0,a])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a/2,no_threads=7,threads=false,male=false,qual=qual);
} }
if(ribs){ if(ribs){
difference(){ difference(){
union(){ union(){
translate([ir,-t,0]) translate([ir,-t,0])
cube([rr-ir,2*t,a]); cube([rr-ir,2*t,a]);
translate([-rr,-t,0]) translate([-rr,-t,0])
cube([rr-ir,2*t,a]); cube([rr-ir,2*t,a]);
} }
difference(){ difference(){
cylinder(r=rr+t,h=a,$fn=qual); cylinder(r=rr+t,h=a,$fn=qual);
cylinder(r=rr,h=a,$fn=qual); cylinder(r=rr,h=a,$fn=qual);
} }
} }
} }
if(hex){ if(hex){
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
translate([0,0,(a)-(3*t)]) translate([0,0,(a)-(3*t)])
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

View File

@ -1,220 +1,220 @@
/* /*
Tee's Tee's
By the DoomMeister By the DoomMeister
//Released under the terms of the GNU GPL v3.0 //Released under the terms of the GNU GPL v3.0
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
** **
WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised
media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice. media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice.
** **
This file will generate a range of Tee Type Pipe fittings either with threads or without, this This file will generate a range of Tee Type Pipe fittings either with threads or without, this
means that the resulting part could be a functional pipe fitting or used as a pattern for casting. means that the resulting part could be a functional pipe fitting or used as a pattern for casting.
Dimensions are generally to BS 143. Options are avilible for ribs and re-enforced hexagonal ends Dimensions are generally to BS 143. Options are avilible for ribs and re-enforced hexagonal ends
*/ */
use<fitting_end.scad>; use<fitting_end.scad>;
use<hex_form.scad>; use<hex_form.scad>;
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test - Comment Out for Module Usage //Test - Comment Out for Module Usage
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//socket(); //socket();
_test(); _test();
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test Module - Example usages //Test Module - Example usages
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module _test(){ module _test(){
tee(); tee();
translate([50,0,0])color("grey") translate([50,0,0])color("grey")
tee(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200); tee(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200);
translate([110,0,0])color("blue") translate([110,0,0])color("blue")
tee(size=1,type="std",threads=false,ribs=true,hex=true,qual=100); tee(size=1,type="std",threads=false,ribs=true,hex=true,qual=100);
translate([120,-50,0])color("green") translate([120,-50,0])color("green")
tee(size=3/8,type="std",qual=50); tee(size=3/8,type="std",qual=50);
translate([50,-50,0])color("orange") translate([50,-50,0])color("orange")
tee(size=0.25,hex=false, type="std",qual=100); tee(size=0.25,hex=false, type="std",qual=100);
translate([0,100,0])color("pink") translate([0,100,0])color("pink")
tee(size=5/4,type="std",ribs=true,hex=false,qual=120); tee(size=5/4,type="std",ribs=true,hex=false,qual=120);
translate([70,100,0])color("Indigo") translate([70,100,0])color("Indigo")
tee(size=1.5,hex=false,hex=true, type="std",qual=120); tee(size=1.5,hex=false,hex=true, type="std",qual=120);
translate([160,100,0])color("white") translate([160,100,0])color("white")
tee(size=2,type="std",threads=true,ribs=true,hex=true,qual=25); tee(size=2,type="std",threads=true,ribs=true,hex=true,qual=25);
translate([0,200,0])color("brown") translate([0,200,0])color("brown")
tee(size=2.5,hex=true, type="std",qual=100); tee(size=2.5,hex=true, type="std",qual=100);
translate([150,270,0])color("LightSkyBlue") translate([150,270,0])color("LightSkyBlue")
tee(size=3,ribs=true,hex=true, type="std",qual=100); tee(size=3,ribs=true,hex=true, type="std",qual=100);
translate([-20,400,0])color("OliveDrab") translate([-20,400,0])color("OliveDrab")
tee(size=4,ribs=true,hex=true, type="std",qual=100); tee(size=4,ribs=true,hex=true, type="std",qual=100);
translate([150,450,0])color("DarkGoldenrod") translate([150,450,0])color("DarkGoldenrod")
tee(size=5,ribs=true,hex=false, type="std",qual=100); tee(size=5,ribs=true,hex=false, type="std",qual=100);
translate([0,700,0])color("red") translate([0,700,0])color("red")
tee(size=6,type="std",threads=true,ribs=false,hex=true,qual=25); tee(size=6,type="std",threads=true,ribs=false,hex=true,qual=25);
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Outer Module - Negotiates sizes and calls correct sub module //Outer Module - Negotiates sizes and calls correct sub module
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module tee(size=0.5,type="std",threads=false,ribs=false,hex=true,qual=50){ module tee(size=0.5,type="std",threads=false,ribs=false,hex=true,qual=50){
if(size==0.25){ if(size==0.25){
if(type=="std"){ if(type=="std"){
_tee(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=25.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=25.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.375){ if(size==0.375){
if(type=="std"){ if(type=="std"){
_tee(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=28.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=28.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.5){ if(size==0.5){
if(type=="std"){ if(type=="std"){
_tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.75){ if(size==0.75){
if(type=="std"){ if(type=="std"){
_tee(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=37,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=37,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1){ if(size==1){
if(type=="std"){ if(type=="std"){
_tee(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=38,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=38,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.25){ if(size==1.25){
if(type=="std"){ if(type=="std"){
_socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=48,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=48,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.5){ if(size==1.5){
if(type=="std"){ if(type=="std"){
_tee(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=52.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=52.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2){ if(size==2){
if(type=="std"){ if(type=="std"){
_tee(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=62.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=62.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2.5){ if(size==2.5){
if(type=="std"){ if(type=="std"){
_tee(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=71.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=71.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==3){ if(size==3){
if(type=="std"){ if(type=="std"){
_tee(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=77,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=77,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==4){ if(size==4){
if(type=="std"){ if(type=="std"){
_tee(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=91,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=91,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==5){ if(size==5){
if(type=="std"){ if(type=="std"){
_tee(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=105.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=105.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==6){ if(size==6){
if(type=="std"){ if(type=="std"){
_tee(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=116.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=116.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//inner modules //inner modules
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//module to make equal tee //module to make equal tee
module _tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){ module _tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){
pid = pod -(pt*2); pid = pod -(pt*2);
pitch = 1/tpi; pitch = 1/tpi;
t = pt; //thickness t = pt; //thickness
ir = pod/2; //internal rad ir = pod/2; //internal rad
tcr = core *0.5*25.4; //thread core rad tcr = core *0.5*25.4; //thread core rad
tl = pitch * 25.4 * 7; //thread length tl = pitch * 25.4 * 7; //thread length
chl = pitch *25.4*0.5; //corner chamfer; chl = pitch *25.4*0.5; //corner chamfer;
or = ir + t; //outer radius or = ir + t; //outer radius
rr = ir + (1.5*t); //reenforced radius rr = ir + (1.5*t); //reenforced radius
echo(pod,pid,pod/25.4,pid/25.4,pitch,rr); echo(pod,pid,pod/25.4,pid/25.4,pitch,rr);
difference(){ difference(){
union(){ union(){
if(threads){ if(threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
translate([0,0,a*2]) translate([0,0,a*2])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
translate([0,-a,a]) translate([0,-a,a])
rotate([270,0,0]) rotate([270,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
} }
if(!threads){ if(!threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
translate([0,0,a*2]) translate([0,0,a*2])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
translate([0,-a,a]) translate([0,-a,a])
rotate([270,0,0]) rotate([270,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
} }
if(ribs){ if(ribs){
rotate([0,0,90]) rotate([0,0,90])
difference(){ difference(){
union(){ union(){
translate([ir,-t,0]) translate([ir,-t,0])
cube([rr-ir,2*t,a*2]); cube([rr-ir,2*t,a*2]);
//translate([-rr,-t,0]) //translate([-rr,-t,0])
//cube([rr-ir,2*t,a*2]); //cube([rr-ir,2*t,a*2]);
} }
difference(){ difference(){
cylinder(r=rr+t,h=a*2,$fn=qual); cylinder(r=rr+t,h=a*2,$fn=qual);
cylinder(r=rr,h=a*2,$fn=qual); cylinder(r=rr,h=a*2,$fn=qual);
} }
} }
} }
if(hex){ if(hex){
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
translate([0,0,(a*2)-(3*t)]) translate([0,0,(a*2)-(3*t)])
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
translate([0,-a+(3*t),a])rotate([90,0,0]) translate([0,-a+(3*t),a])rotate([90,0,0])
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
} }
} }
//Cutout middle section //Cutout middle section
translate([0,0,(a)-(or)]) translate([0,0,(a)-(or)])
cylinder(r=ir, h=2*or,$fn=qual); cylinder(r=ir, h=2*or,$fn=qual);
translate([0,0,(a)])rotate([90,0,0]) translate([0,0,(a)])rotate([90,0,0])
cylinder(r=ir, h=a-tl,$fn=qual); cylinder(r=ir, h=a-tl,$fn=qual);
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

View File

@ -1,220 +1,220 @@
/* /*
Tee's Tee's
By the DoomMeister By the DoomMeister
//Released under the terms of the GNU GPL v3.0 //Released under the terms of the GNU GPL v3.0
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
** **
WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised WARNING - No warrenty is given regarding the fitness of these parts to convey pressurised
media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice. media if they are fabricated by any means. The user takes all risk in terms of saftey, testing, and material choice.
** **
This file will generate a range of Tee Type Pipe fittings either with threads or without, this This file will generate a range of Tee Type Pipe fittings either with threads or without, this
means that the resulting part could be a functional pipe fitting or used as a pattern for casting. means that the resulting part could be a functional pipe fitting or used as a pattern for casting.
Dimensions are generally to BS 143. Options are avilible for ribs and re-enforced hexagonal ends Dimensions are generally to BS 143. Options are avilible for ribs and re-enforced hexagonal ends
*/ */
use<fitting_end.scad>; use<fitting_end.scad>;
use<hex_form.scad>; use<hex_form.scad>;
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test - Comment Out for Module Usage //Test - Comment Out for Module Usage
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//socket(); //socket();
_test(); _test();
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Test Module - Example usages //Test Module - Example usages
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module _test(){ module _test(){
tee(); tee();
translate([50,0,0])color("grey") translate([50,0,0])color("grey")
tee(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200); tee(size=0.75,type="std",threads=false,ribs=true,hex=true,qual=200);
translate([110,0,0])color("blue") translate([110,0,0])color("blue")
tee(size=1,type="std",threads=false,ribs=true,hex=true,qual=100); tee(size=1,type="std",threads=false,ribs=true,hex=true,qual=100);
translate([120,-50,0])color("green") translate([120,-50,0])color("green")
tee(size=3/8,type="std",qual=50); tee(size=3/8,type="std",qual=50);
translate([50,-50,0])color("orange") translate([50,-50,0])color("orange")
tee(size=0.25,hex=false, type="std",qual=100); tee(size=0.25,hex=false, type="std",qual=100);
translate([0,100,0])color("pink") translate([0,100,0])color("pink")
tee(size=5/4,type="std",ribs=true,hex=false,qual=120); tee(size=5/4,type="std",ribs=true,hex=false,qual=120);
translate([70,100,0])color("Indigo") translate([70,100,0])color("Indigo")
tee(size=1.5,hex=false,hex=true, type="std",qual=120); tee(size=1.5,hex=false,hex=true, type="std",qual=120);
translate([160,100,0])color("white") translate([160,100,0])color("white")
tee(size=2,type="std",threads=true,ribs=true,hex=true,qual=25); tee(size=2,type="std",threads=true,ribs=true,hex=true,qual=25);
translate([0,200,0])color("brown") translate([0,200,0])color("brown")
tee(size=2.5,hex=true, type="std",qual=100); tee(size=2.5,hex=true, type="std",qual=100);
translate([150,270,0])color("LightSkyBlue") translate([150,270,0])color("LightSkyBlue")
tee(size=3,ribs=true,hex=true, type="std",qual=100); tee(size=3,ribs=true,hex=true, type="std",qual=100);
translate([-20,400,0])color("OliveDrab") translate([-20,400,0])color("OliveDrab")
tee(size=4,ribs=true,hex=true, type="std",qual=100); tee(size=4,ribs=true,hex=true, type="std",qual=100);
translate([150,450,0])color("DarkGoldenrod") translate([150,450,0])color("DarkGoldenrod")
tee(size=5,ribs=true,hex=false, type="std",qual=100); tee(size=5,ribs=true,hex=false, type="std",qual=100);
translate([0,700,0])color("red") translate([0,700,0])color("red")
tee(size=6,type="std",threads=true,ribs=false,hex=true,qual=25); tee(size=6,type="std",threads=true,ribs=false,hex=true,qual=25);
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Outer Module - Negotiates sizes and calls correct sub module //Outer Module - Negotiates sizes and calls correct sub module
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module tee(size=0.5,type="std",threads=false,ribs=false,hex=true,qual=50){ module tee(size=0.5,type="std",threads=false,ribs=false,hex=true,qual=50){
if(size==0.25){ if(size==0.25){
if(type=="std"){ if(type=="std"){
_tee(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=25.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.451,od=0.518,tpi=19,pod=13.9,pt=2.9,a=25.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.375){ if(size==0.375){
if(type=="std"){ if(type=="std"){
_tee(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=28.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.589,od=0.656,tpi=19,pod=17.4,pt=2.9,a=28.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.5){ if(size==0.5){
if(type=="std"){ if(type=="std"){
_tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==0.75){ if(size==0.75){
if(type=="std"){ if(type=="std"){
_tee(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=37,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=0.95,od=1.041,tpi=14,pod=27.20,pt=3.2,a=37,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1){ if(size==1){
if(type=="std"){ if(type=="std"){
_tee(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=38,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=1.193,od=1.309,tpi=11,pod=34.2,pt=4,a=38,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.25){ if(size==1.25){
if(type=="std"){ if(type=="std"){
_socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=48,threads=threads,ribs=ribs,hex=hex,qual=qual); _socket(core=1.534,od=1.65,tpi=11,pod=42.9,pt=4,a=48,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==1.5){ if(size==1.5){
if(type=="std"){ if(type=="std"){
_tee(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=52.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=1.766,od=1.882,tpi=11,pod=48.8,pt=4,a=52.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2){ if(size==2){
if(type=="std"){ if(type=="std"){
_tee(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=62.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=2.231,od=2.347,tpi=11,pod=60.80,pt=4.5,a=62.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==2.5){ if(size==2.5){
if(type=="std"){ if(type=="std"){
_tee(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=71.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=2.8436,od=2.960,tpi=11,pod=76.6,pt=4.5,a=71.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==3){ if(size==3){
if(type=="std"){ if(type=="std"){
_tee(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=77,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=3.3436,od=3.46,tpi=11,pod=89.5,pt=5,a=77,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==4){ if(size==4){
if(type=="std"){ if(type=="std"){
_tee(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=91,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=4.3336,od=4.45,tpi=11,pod=114.90,pt=5.4,a=91,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==5){ if(size==5){
if(type=="std"){ if(type=="std"){
_tee(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=105.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=5.3336,od=5.45,tpi=11,pod=140.6,pt=5.4,a=105.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
if(size==6){ if(size==6){
if(type=="std"){ if(type=="std"){
_tee(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=116.5,threads=threads,ribs=ribs,hex=hex,qual=qual); _tee(core=6.3336,od=6.45,tpi=11,pod=166.10,pt=5.4,a=116.5,threads=threads,ribs=ribs,hex=hex,qual=qual);
} }
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//inner modules //inner modules
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//module to make equal tee //module to make equal tee
module _tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){ module _tee(core=0.734,od=0.825,tpi=14,pod=21.70,pt=3.2,a=34,threads=false,ribs=false,hex=false,qual=20){
pid = pod -(pt*2); pid = pod -(pt*2);
pitch = 1/tpi; pitch = 1/tpi;
t = pt; //thickness t = pt; //thickness
ir = pod/2; //internal rad ir = pod/2; //internal rad
tcr = core *0.5*25.4; //thread core rad tcr = core *0.5*25.4; //thread core rad
tl = pitch * 25.4 * 7; //thread length tl = pitch * 25.4 * 7; //thread length
chl = pitch *25.4*0.5; //corner chamfer; chl = pitch *25.4*0.5; //corner chamfer;
or = ir + t; //outer radius or = ir + t; //outer radius
rr = ir + (1.5*t); //reenforced radius rr = ir + (1.5*t); //reenforced radius
echo(pod,pid,pod/25.4,pid/25.4,pitch,rr); echo(pod,pid,pod/25.4,pid/25.4,pitch,rr);
difference(){ difference(){
union(){ union(){
if(threads){ if(threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
translate([0,0,a*2]) translate([0,0,a*2])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
translate([0,-a,a]) translate([0,-a,a])
rotate([270,0,0]) rotate([270,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=true,male=false,qual=qual);
} }
if(!threads){ if(!threads){
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
translate([0,0,a*2]) translate([0,0,a*2])
rotate([180,0,0]) rotate([180,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
translate([0,-a,a]) translate([0,-a,a])
rotate([270,0,0]) rotate([270,0,0])
fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual); fitting_end(core=core,od=od,tpi=tpi,pod=pod,pt=pt,l=a,no_threads=7,threads=false,male=false,qual=qual);
} }
if(ribs){ if(ribs){
rotate([0,0,90]) rotate([0,0,90])
difference(){ difference(){
union(){ union(){
translate([ir,-t,0]) translate([ir,-t,0])
cube([rr-ir,2*t,a*2]); cube([rr-ir,2*t,a*2]);
//translate([-rr,-t,0]) //translate([-rr,-t,0])
//cube([rr-ir,2*t,a*2]); //cube([rr-ir,2*t,a*2]);
} }
difference(){ difference(){
cylinder(r=rr+t,h=a*2,$fn=qual); cylinder(r=rr+t,h=a*2,$fn=qual);
cylinder(r=rr,h=a*2,$fn=qual); cylinder(r=rr,h=a*2,$fn=qual);
} }
} }
} }
if(hex){ if(hex){
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
translate([0,0,(a*2)-(3*t)]) translate([0,0,(a*2)-(3*t)])
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
translate([0,-a+(3*t),a])rotate([90,0,0]) translate([0,-a+(3*t),a])rotate([90,0,0])
hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual); hex_form(height=t*3,hex_id=pod,wall_thickness=t,sides=8,inclination=1.1,qual=qual);
} }
} }
//Cutout middle section //Cutout middle section
translate([0,0,(a)-(or)]) translate([0,0,(a)-(or)])
cylinder(r=ir, h=2*or,$fn=qual); cylinder(r=ir, h=2*or,$fn=qual);
translate([0,0,(a)])rotate([90,0,0]) translate([0,0,(a)])rotate([90,0,0])
cylinder(r=ir, h=a-tl,$fn=qual); cylinder(r=ir, h=a-tl,$fn=qual);
} }
} }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

View File

@ -1,205 +1,205 @@
/* /*
* Modified by the DoomMeister * Modified by the DoomMeister
* To allow a parsable quality setting, better tuned for BSP threads * To allow a parsable quality setting, better tuned for BSP threads
* *
* Origionally By * Origionally By
* Dan Kirshner - dan_kirshner@yahoo.com * Dan Kirshner - dan_kirshner@yahoo.com
* *
* You are welcome to make free use of this software. Retention of my * You are welcome to make free use of this software. Retention of my
* authorship credit would be appreciated. * authorship credit would be appreciated.
* *
* Version 1.3. 2013-12-01 Correct loop over turns -- don't have early cut-off * Version 1.3. 2013-12-01 Correct loop over turns -- don't have early cut-off
* Version 1.2. 2012-09-09 Use discrete polyhedra rather than linear_extrude() * Version 1.2. 2012-09-09 Use discrete polyhedra rather than linear_extrude()
* Version 1.1. 2012-09-07 Corrected to right-hand threads! * Version 1.1. 2012-09-07 Corrected to right-hand threads!
*/ */
// Examples: // Examples:
//metric_thread(8, 1, 10); //metric_thread(8, 1, 10);
//english_thread(1/4, 20, 1); //english_thread(1/4, 20, 1);
// Rohloff hub thread: // Rohloff hub thread:
//metric_thread(34, 1, 10, internal=true, n_starts=6); //metric_thread(34, 1, 10, internal=true, n_starts=6);
//metric_thread(8, 2, 4); //metric_thread(8, 2, 4);
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
pi = 3.14159265; pi = 3.14159265;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
function segments(diameter) = min(10, ceil(diameter*6)); function segments(diameter) = min(10, ceil(diameter*6));
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// internal - true = clearances for internal thread (e.g., a nut). // internal - true = clearances for internal thread (e.g., a nut).
// false = clearances for external thread (e.g., a bolt). // false = clearances for external thread (e.g., a bolt).
// (Internal threads should be "cut out" from a solid using // (Internal threads should be "cut out" from a solid using
// difference()). // difference()).
// n_starts - Number of thread starts (e.g., DNA, a "double helix," has // n_starts - Number of thread starts (e.g., DNA, a "double helix," has
// n_starts=2). See wikipedia Screw_thread. // n_starts=2). See wikipedia Screw_thread.
module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1,tq=10) module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1,tq=10)
{ {
// Number of turns needed. // Number of turns needed.
n_turns = floor(length/pitch); n_turns = floor(length/pitch);
n_segments = tq; n_segments = tq;
h = pitch * cos(30); h = pitch * cos(30);
union() { union() {
intersection() { intersection() {
// Start one below z = 0. Gives an extra turn at each end. // Start one below z = 0. Gives an extra turn at each end.
for (i=[-1*n_starts : n_turns+1]) { for (i=[-1*n_starts : n_turns+1]) {
translate([0, 0, i*pitch]) { translate([0, 0, i*pitch]) {
metric_thread_turn(diameter, pitch, internal, n_starts,tq); metric_thread_turn(diameter, pitch, internal, n_starts,tq);
} }
} }
// Cut to length. // Cut to length.
translate([0, 0, length/2]) { translate([0, 0, length/2]) {
cube([diameter*1.1, diameter*1.1, length], center=true); cube([diameter*1.1, diameter*1.1, length], center=true);
} }
} }
// Solid center, including Dmin truncation. // Solid center, including Dmin truncation.
if (internal) { if (internal) {
cylinder(r=diameter/2 - h*5/8, h=length, $fn=n_segments); cylinder(r=diameter/2 - h*5/8, h=length, $fn=n_segments);
} else { } else {
// External thread includes additional relief. // External thread includes additional relief.
cylinder(r=diameter/2 - h*5.3/8, h=length, $fn=n_segments); cylinder(r=diameter/2 - h*5.3/8, h=length, $fn=n_segments);
} }
} }
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Input units in inches. // Input units in inches.
// Note: units of measure in drawing are mm! // Note: units of measure in drawing are mm!
module english_thread(diameter=0.25, threads_per_inch=20, length=1, module english_thread(diameter=0.25, threads_per_inch=20, length=1,
internal=false, n_starts=1,tq=10) internal=false, n_starts=1,tq=10)
{ {
// Convert to mm. // Convert to mm.
mm_diameter = diameter*25.4; mm_diameter = diameter*25.4;
mm_pitch = (1.0/threads_per_inch)*25.4; mm_pitch = (1.0/threads_per_inch)*25.4;
mm_length = length*25.4; mm_length = length*25.4;
echo(str("mm_diameter: ", mm_diameter)); echo(str("mm_diameter: ", mm_diameter));
echo(str("mm_pitch: ", mm_pitch)); echo(str("mm_pitch: ", mm_pitch));
echo(str("mm_length: ", mm_length)); echo(str("mm_length: ", mm_length));
metric_thread(mm_diameter, mm_pitch, mm_length, internal, n_starts,tq); metric_thread(mm_diameter, mm_pitch, mm_length, internal, n_starts,tq);
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
module metric_thread_turn(diameter, pitch, internal, n_starts,tq) module metric_thread_turn(diameter, pitch, internal, n_starts,tq)
{ {
n_segments = tq; n_segments = tq;
fraction_circle = 1.0/n_segments; fraction_circle = 1.0/n_segments;
for (i=[0 : n_segments-1]) { for (i=[0 : n_segments-1]) {
rotate([0, 0, i*360*fraction_circle]) { rotate([0, 0, i*360*fraction_circle]) {
translate([0, 0, i*n_starts*pitch*fraction_circle]) { translate([0, 0, i*n_starts*pitch*fraction_circle]) {
thread_polyhedron(diameter/2, pitch, internal, n_starts,tq); thread_polyhedron(diameter/2, pitch, internal, n_starts,tq);
} }
} }
} }
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// z (see diagram) as function of current radius. // z (see diagram) as function of current radius.
// (Only good for first half-pitch.) // (Only good for first half-pitch.)
function z_fct(current_radius, radius, pitch) function z_fct(current_radius, radius, pitch)
= 0.5*(current_radius - (radius - 0.875*pitch*cos(30))) = 0.5*(current_radius - (radius - 0.875*pitch*cos(30)))
/cos(30); /cos(30);
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
module thread_polyhedron(radius, pitch, internal, n_starts,tq) module thread_polyhedron(radius, pitch, internal, n_starts,tq)
{ {
n_segments = tq; n_segments = tq;
fraction_circle = 1.0/n_segments; fraction_circle = 1.0/n_segments;
h = pitch * cos(30); h = pitch * cos(30);
outer_r = radius + (internal ? h/20 : 0); // Adds internal relief. outer_r = radius + (internal ? h/20 : 0); // Adds internal relief.
//echo(str("outer_r: ", outer_r)); //echo(str("outer_r: ", outer_r));
inner_r = radius - 0.875*h; // Does NOT do Dmin_truncation - do later with inner_r = radius - 0.875*h; // Does NOT do Dmin_truncation - do later with
// cylinder. // cylinder.
// Make these just slightly bigger (keep in proportion) so polyhedra will // Make these just slightly bigger (keep in proportion) so polyhedra will
// overlap. // overlap.
x_incr_outer = outer_r * fraction_circle * 2 * pi * 1.005; x_incr_outer = outer_r * fraction_circle * 2 * pi * 1.005;
x_incr_inner = inner_r * fraction_circle * 2 * pi * 1.005; x_incr_inner = inner_r * fraction_circle * 2 * pi * 1.005;
z_incr = n_starts * pitch * fraction_circle * 1.005; z_incr = n_starts * pitch * fraction_circle * 1.005;
/* /*
(angles x0 and x3 inner are actually 60 deg) (angles x0 and x3 inner are actually 60 deg)
/\ (x2_inner, z2_inner) [2] /\ (x2_inner, z2_inner) [2]
/ \ / \
(x3_inner, z3_inner) / \ (x3_inner, z3_inner) / \
[3] \ \ [3] \ \
|\ \ (x2_outer, z2_outer) [6] |\ \ (x2_outer, z2_outer) [6]
| \ / | \ /
| \ /| | \ /|
z | \/ / (x1_outer, z1_outer) [5] z | \/ / (x1_outer, z1_outer) [5]
| | | / | | | /
| x | |/ | x | |/
| / | / (x0_outer, z0_outer) [4] | / | / (x0_outer, z0_outer) [4]
| / | / (behind: (x1_inner, z1_inner) [1] | / | / (behind: (x1_inner, z1_inner) [1]
|/ | / |/ | /
y________| |/ y________| |/
(r) / (x0_inner, z0_inner) [0] (r) / (x0_inner, z0_inner) [0]
*/ */
x1_outer = outer_r * fraction_circle * 2 * pi; x1_outer = outer_r * fraction_circle * 2 * pi;
z0_outer = z_fct(outer_r, radius, pitch); z0_outer = z_fct(outer_r, radius, pitch);
//echo(str("z0_outer: ", z0_outer)); //echo(str("z0_outer: ", z0_outer));
//polygon([[inner_r, 0], [outer_r, z0_outer], //polygon([[inner_r, 0], [outer_r, z0_outer],
// [outer_r, 0.5*pitch], [inner_r, 0.5*pitch]]); // [outer_r, 0.5*pitch], [inner_r, 0.5*pitch]]);
z1_outer = z0_outer + z_incr; z1_outer = z0_outer + z_incr;
// Rule for triangle ordering: look at polyhedron from outside: points must // Rule for triangle ordering: look at polyhedron from outside: points must
// be in clockwise order. // be in clockwise order.
polyhedron( polyhedron(
points = [ points = [
[-x_incr_inner/2, -inner_r, 0], // [0] [-x_incr_inner/2, -inner_r, 0], // [0]
[x_incr_inner/2, -inner_r, z_incr], // [1] [x_incr_inner/2, -inner_r, z_incr], // [1]
[x_incr_inner/2, -inner_r, pitch + z_incr], // [2] [x_incr_inner/2, -inner_r, pitch + z_incr], // [2]
[-x_incr_inner/2, -inner_r, pitch], // [3] [-x_incr_inner/2, -inner_r, pitch], // [3]
[-x_incr_outer/2, -outer_r, z0_outer], // [4] [-x_incr_outer/2, -outer_r, z0_outer], // [4]
[x_incr_outer/2, -outer_r, z0_outer + z_incr], // [5] [x_incr_outer/2, -outer_r, z0_outer + z_incr], // [5]
[x_incr_outer/2, -outer_r, pitch - z0_outer + z_incr], // [6] [x_incr_outer/2, -outer_r, pitch - z0_outer + z_incr], // [6]
[-x_incr_outer/2, -outer_r, pitch - z0_outer] // [7] [-x_incr_outer/2, -outer_r, pitch - z0_outer] // [7]
], ],
faces = [ faces = [
[0, 3, 4], // This-side trapezoid, bottom [0, 3, 4], // This-side trapezoid, bottom
[3, 7, 4], // This-side trapezoid, top [3, 7, 4], // This-side trapezoid, top
[1, 5, 2], // Back-side trapezoid, bottom [1, 5, 2], // Back-side trapezoid, bottom
[2, 5, 6], // Back-side trapezoid, top [2, 5, 6], // Back-side trapezoid, top
[0, 1, 2], // Inner rectangle, bottom [0, 1, 2], // Inner rectangle, bottom
[0, 2, 3], // Inner rectangle, top [0, 2, 3], // Inner rectangle, top
[4, 6, 5], // Outer rectangle, bottom [4, 6, 5], // Outer rectangle, bottom
[4, 7, 6], // Outer rectangle, top [4, 7, 6], // Outer rectangle, top
[7, 2, 6], // Upper rectangle, bottom [7, 2, 6], // Upper rectangle, bottom
[7, 3, 2], // Upper rectangle, top [7, 3, 2], // Upper rectangle, top
[0, 5, 1], // Lower rectangle, bottom [0, 5, 1], // Lower rectangle, bottom
[0, 4, 5] // Lower rectangle, top [0, 4, 5] // Lower rectangle, top
] ]
); );
} }

View File

@ -1,206 +1,206 @@
/* /*
* Modified by the DoomMeister * Modified by the DoomMeister
* To allow a parsable quality setting, better tuned for BSP threads * To allow a parsable quality setting, better tuned for BSP threads
* *
* Origionally By * Origionally By
* Dan Kirshner - dan_kirshner@yahoo.com * Dan Kirshner - dan_kirshner@yahoo.com
* *
* You are welcome to make free use of this software. Retention of my * You are welcome to make free use of this software. Retention of my
* authorship credit would be appreciated. * authorship credit would be appreciated.
* *
* Version 1.3. 2013-12-01 Correct loop over turns -- don't have early cut-off * Version 1.3. 2013-12-01 Correct loop over turns -- don't have early cut-off
* Version 1.2. 2012-09-09 Use discrete polyhedra rather than linear_extrude() * Version 1.2. 2012-09-09 Use discrete polyhedra rather than linear_extrude()
* Version 1.1. 2012-09-07 Corrected to right-hand threads! * Version 1.1. 2012-09-07 Corrected to right-hand threads!
*/ */
// Examples: // Examples:
//metric_thread(8, 1, 10); //metric_thread(8, 1, 10);
//english_thread(1/4, 20, 1); //english_thread(1/4, 20, 1);
// Rohloff hub thread: // Rohloff hub thread:
//metric_thread(34, 1, 10, internal=true, n_starts=6); //metric_thread(34, 1, 10, internal=true, n_starts=6);
//metric_thread(8, 2, 4); //metric_thread(8, 2, 4);
thread_polyhedron(1.309*0.5*25.4, 1/11*25.4, false, 1,20); thread_polyhedron(1.309*0.5*25.4, 1/11*25.4, false, 1,20);
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
pi = 3.14159265; pi = 3.14159265;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
function segments(diameter) = min(10, ceil(diameter*6)); function segments(diameter) = min(10, ceil(diameter*6));
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// internal - true = clearances for internal thread (e.g., a nut). // internal - true = clearances for internal thread (e.g., a nut).
// false = clearances for external thread (e.g., a bolt). // false = clearances for external thread (e.g., a bolt).
// (Internal threads should be "cut out" from a solid using // (Internal threads should be "cut out" from a solid using
// difference()). // difference()).
// n_starts - Number of thread starts (e.g., DNA, a "double helix," has // n_starts - Number of thread starts (e.g., DNA, a "double helix," has
// n_starts=2). See wikipedia Screw_thread. // n_starts=2). See wikipedia Screw_thread.
module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1,tq=10) module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1,tq=10)
{ {
// Number of turns needed. // Number of turns needed.
n_turns = floor(length/pitch); n_turns = floor(length/pitch);
n_segments = tq; n_segments = tq;
h = pitch * cos(27.5); h = pitch * cos(27.5);
union() { union() {
intersection() { intersection() {
// Start one below z = 0. Gives an extra turn at each end. // Start one below z = 0. Gives an extra turn at each end.
for (i=[-1*n_starts : n_turns+1]) { for (i=[-1*n_starts : n_turns+1]) {
translate([0, 0, i*pitch]) { translate([0, 0, i*pitch]) {
metric_thread_turn(diameter, pitch, internal, n_starts,tq); metric_thread_turn(diameter, pitch, internal, n_starts,tq);
} }
} }
// Cut to length. // Cut to length.
translate([0, 0, length/2]) { translate([0, 0, length/2]) {
cube([diameter*1.1, diameter*1.1, length], center=true); cube([diameter*1.1, diameter*1.1, length], center=true);
} }
} }
// Solid center, including Dmin truncation. // Solid center, including Dmin truncation.
if (internal) { if (internal) {
cylinder(r=diameter/2 - h*5/8, h=length, $fn=n_segments); cylinder(r=diameter/2 - h*5/8, h=length, $fn=n_segments);
} else { } else {
// External thread includes additional relief. // External thread includes additional relief.
cylinder(r=diameter/2 - h*5.3/8, h=length, $fn=n_segments); cylinder(r=diameter/2 - h*5.3/8, h=length, $fn=n_segments);
} }
} }
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Input units in inches. // Input units in inches.
// Note: units of measure in drawing are mm! // Note: units of measure in drawing are mm!
module english_thread(diameter=0.25, threads_per_inch=20, length=1, module english_thread(diameter=0.25, threads_per_inch=20, length=1,
internal=false, n_starts=1,tq=10) internal=false, n_starts=1,tq=10)
{ {
// Convert to mm. // Convert to mm.
mm_diameter = diameter*25.4; mm_diameter = diameter*25.4;
mm_pitch = (1.0/threads_per_inch)*25.4; mm_pitch = (1.0/threads_per_inch)*25.4;
mm_length = length*25.4; mm_length = length*25.4;
echo(str("mm_diameter: ", mm_diameter)); echo(str("mm_diameter: ", mm_diameter));
echo(str("mm_pitch: ", mm_pitch)); echo(str("mm_pitch: ", mm_pitch));
echo(str("mm_length: ", mm_length)); echo(str("mm_length: ", mm_length));
metric_thread(mm_diameter, mm_pitch, mm_length, internal, n_starts,tq); metric_thread(mm_diameter, mm_pitch, mm_length, internal, n_starts,tq);
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
module metric_thread_turn(diameter, pitch, internal, n_starts,tq) module metric_thread_turn(diameter, pitch, internal, n_starts,tq)
{ {
n_segments = tq; n_segments = tq;
fraction_circle = 1.0/n_segments; fraction_circle = 1.0/n_segments;
for (i=[0 : n_segments-1]) { for (i=[0 : n_segments-1]) {
rotate([0, 0, i*360*fraction_circle]) { rotate([0, 0, i*360*fraction_circle]) {
translate([0, 0, i*n_starts*pitch*fraction_circle]) { translate([0, 0, i*n_starts*pitch*fraction_circle]) {
thread_polyhedron(diameter/2, pitch, internal, n_starts,tq); thread_polyhedron(diameter/2, pitch, internal, n_starts,tq);
} }
} }
} }
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// z (see diagram) as function of current radius. // z (see diagram) as function of current radius.
// (Only good for first half-pitch.) // (Only good for first half-pitch.)
function z_fct(current_radius, radius, pitch) function z_fct(current_radius, radius, pitch)
= 0.5*(current_radius - (radius - 0.875*pitch*cos(30))) = 0.5*(current_radius - (radius - 0.875*pitch*cos(30)))
/cos(30); /cos(30);
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
module thread_polyhedron(radius, pitch, internal, n_starts,tq) module thread_polyhedron(radius, pitch, internal, n_starts,tq)
{ {
n_segments = tq; n_segments = tq;
fraction_circle = 1.0/n_segments; fraction_circle = 1.0/n_segments;
h = pitch * cos(30); h = pitch * cos(30);
outer_r = radius + (internal ? h/20 : 0); // Adds internal relief. outer_r = radius + (internal ? h/20 : 0); // Adds internal relief.
//echo(str("outer_r: ", outer_r)); //echo(str("outer_r: ", outer_r));
inner_r = radius - 0.875*h; // Does NOT do Dmin_truncation - do later with inner_r = radius - 0.875*h; // Does NOT do Dmin_truncation - do later with
// cylinder. // cylinder.
// Make these just slightly bigger (keep in proportion) so polyhedra will // Make these just slightly bigger (keep in proportion) so polyhedra will
// overlap. // overlap.
x_incr_outer = outer_r * fraction_circle * 2 * pi * 1.005; x_incr_outer = outer_r * fraction_circle * 2 * pi * 1.005;
x_incr_inner = inner_r * fraction_circle * 2 * pi * 1.005; x_incr_inner = inner_r * fraction_circle * 2 * pi * 1.005;
z_incr = n_starts * pitch * fraction_circle * 1.005; z_incr = n_starts * pitch * fraction_circle * 1.005;
/* /*
(angles x0 and x3 inner are actually 60 deg) (angles x0 and x3 inner are actually 60 deg)
/\ (x2_inner, z2_inner) [2] /\ (x2_inner, z2_inner) [2]
/ \ / \
(x3_inner, z3_inner) / \ (x3_inner, z3_inner) / \
[3] \ \ [3] \ \
|\ \ (x2_outer, z2_outer) [6] |\ \ (x2_outer, z2_outer) [6]
| \ / | \ /
| \ /| | \ /|
z | \/ / (x1_outer, z1_outer) [5] z | \/ / (x1_outer, z1_outer) [5]
| | | / | | | /
| x | |/ | x | |/
| / | / (x0_outer, z0_outer) [4] | / | / (x0_outer, z0_outer) [4]
| / | / (behind: (x1_inner, z1_inner) [1] | / | / (behind: (x1_inner, z1_inner) [1]
|/ | / |/ | /
y________| |/ y________| |/
(r) / (x0_inner, z0_inner) [0] (r) / (x0_inner, z0_inner) [0]
*/ */
x1_outer = outer_r * fraction_circle * 2 * pi; x1_outer = outer_r * fraction_circle * 2 * pi;
z0_outer = z_fct(outer_r, radius, pitch); z0_outer = z_fct(outer_r, radius, pitch);
//echo(str("z0_outer: ", z0_outer)); //echo(str("z0_outer: ", z0_outer));
//polygon([[inner_r, 0], [outer_r, z0_outer], //polygon([[inner_r, 0], [outer_r, z0_outer],
// [outer_r, 0.5*pitch], [inner_r, 0.5*pitch]]); // [outer_r, 0.5*pitch], [inner_r, 0.5*pitch]]);
z1_outer = z0_outer + z_incr; z1_outer = z0_outer + z_incr;
// Rule for triangle ordering: look at polyhedron from outside: points must // Rule for triangle ordering: look at polyhedron from outside: points must
// be in clockwise order. // be in clockwise order.
polyhedron( polyhedron(
points = [ points = [
[-x_incr_inner/2, -inner_r, 0], // [0] [-x_incr_inner/2, -inner_r, 0], // [0]
[x_incr_inner/2, -inner_r, z_incr], // [1] [x_incr_inner/2, -inner_r, z_incr], // [1]
[x_incr_inner/2, -inner_r, pitch + z_incr], // [2] [x_incr_inner/2, -inner_r, pitch + z_incr], // [2]
[-x_incr_inner/2, -inner_r, pitch], // [3] [-x_incr_inner/2, -inner_r, pitch], // [3]
[-x_incr_outer/2, -outer_r, z0_outer], // [4] [-x_incr_outer/2, -outer_r, z0_outer], // [4]
[x_incr_outer/2, -outer_r, z0_outer + z_incr], // [5] [x_incr_outer/2, -outer_r, z0_outer + z_incr], // [5]
[x_incr_outer/2, -outer_r, pitch - z0_outer + z_incr], // [6] [x_incr_outer/2, -outer_r, pitch - z0_outer + z_incr], // [6]
[-x_incr_outer/2, -outer_r, pitch - z0_outer] // [7] [-x_incr_outer/2, -outer_r, pitch - z0_outer] // [7]
], ],
faces = [ faces = [
[0, 3, 4], // This-side trapezoid, bottom [0, 3, 4], // This-side trapezoid, bottom
[3, 7, 4], // This-side trapezoid, top [3, 7, 4], // This-side trapezoid, top
[1, 5, 2], // Back-side trapezoid, bottom [1, 5, 2], // Back-side trapezoid, bottom
[2, 5, 6], // Back-side trapezoid, top [2, 5, 6], // Back-side trapezoid, top
[0, 1, 2], // Inner rectangle, bottom [0, 1, 2], // Inner rectangle, bottom
[0, 2, 3], // Inner rectangle, top [0, 2, 3], // Inner rectangle, top
[4, 6, 5], // Outer rectangle, bottom [4, 6, 5], // Outer rectangle, bottom
[4, 7, 6], // Outer rectangle, top [4, 7, 6], // Outer rectangle, top
[7, 2, 6], // Upper rectangle, bottom [7, 2, 6], // Upper rectangle, bottom
[7, 3, 2], // Upper rectangle, top [7, 3, 2], // Upper rectangle, top
[0, 5, 1], // Lower rectangle, bottom [0, 5, 1], // Lower rectangle, bottom
[0, 4, 5] // Lower rectangle, top [0, 4, 5] // Lower rectangle, top
] ]
); );
} }

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension --> <!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com --> <!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="en-GB"> <html lang="en-GB">
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension --> <!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com --> <!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="en-GB"> <html lang="en-GB">
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension --> <!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com --> <!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="es-ES"> <html lang="es-ES">
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension --> <!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com --> <!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="es-ES"> <html lang="es-ES">
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension --> <!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com --> <!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="en-GB"> <html lang="en-GB">
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension --> <!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com --> <!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="es-ES"> <html lang="es-ES">
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

View File

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

Before

Width:  |  Height:  |  Size: 877 KiB

After

Width:  |  Height:  |  Size: 877 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 716 KiB

After

Width:  |  Height:  |  Size: 716 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 237 KiB

After

Width:  |  Height:  |  Size: 237 KiB

View File

Before

Width:  |  Height:  |  Size: 698 KiB

After

Width:  |  Height:  |  Size: 698 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Some files were not shown because too many files have changed in this diff Show More