productcode

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 3D-Print/Production
Introduced first in SolidGeometry 5.0, Creation date: 2020-12-13, Last change: 2025-09-15

Database fnct to store components to order

Description

supports in SG-Lib 5.2 the vendors:
AMAZON.DE Code length 10
CONRAD.DE Code length 13
ALIEXPRESS Code length 16
WEGERTSEDER Code length 8 or code length 4

==> SGpartslistfindproductcodes - searches for a PC[] an returns a product hyperlink using the text of this table
==> you can look for a product code and get the product hyperlink
==> you can look for a product desciption and get the product hyperlink if the descriptor is unique
==> you can look for a product desciption and get all suitable entries if the descriptor is not unique


See Also: amazoncode2link , amazonlink2code , SGpartslistfindproductcodes , SGpartslist , SGpartsfuncparams , SGwriteMultipleSTL

Example Illustration

 missing image of productcode(code,text,over)

Syntax

[url,text]=productcode([code,text,over])

Input Parameter

code: code
text: descriptor
over: overwrite if text is already stored

Output Parameter

url: url 2 order the parts
text: descriptor if just the code was used in a parts list

Examples


productcode('2576-842','ISO 7380 Flachkopfschrauben mit Innensechskant ISO 7380 M 3 x 25 ROSTFREI A2',true)
productcode 'DIN 965 countersunk'
productcode 'DIN 965'
productcode 'DIN 965 countersunk' 'remove'




Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21