generated from polymech/site-template
howtos:references :)
This commit is contained in:
parent
27d1ec116d
commit
c31962fc63
@ -23,7 +23,7 @@
|
||||
"format": "unix-time"
|
||||
}
|
||||
],
|
||||
"default": "2025-03-28T05:02:30.798Z"
|
||||
"default": "2025-03-28T05:25:33.886Z"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -3,7 +3,7 @@
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Return a list of useful references (only with links), as Markdown, grouped : Articles, Books, Papers, Youtube, Opensource Designs, ... Dont comment !\n\nText to process:\nHere, you will find the 3D model and blueprints required to create the wall peg mold.\n\n\nUser Location: Bogota, Colombia\n\nEnsure all necessary materials are prepared, and review the drawings and instructions thoroughly to gain a comprehensive understanding of the process. This preparation will enable you to work with greater efficiency and precision.\n\nWith all the parts gathered, begin by cutting the steel pipe nipple (number 7) in half to create the mold nozzle. (Refer to drawings on page 3).\n\nObtain the steel disc (item no. 3) and create a central hole with a diameter suitable for a snug fit of one half of the steel pipe nipple (item no. 7). (Refer to drawings on page 4)\n\nTurn one face of the flange to create a 3-inch (7.62 cm) diameter guide to fit the mold body no. 1. (See drawings page 4)\n\nJoin weld number 3 and number 7. Subsequently, chamfer the welded edge using a lathe. (Refer to drawings on page 5)\n\nObtain disc number 4 and drill a 7.14 millimeter (9/32 inch) hole in the center. (Refer to drawings on page 6)\n\nDrill four holes at the edge of discs numbered 3 and 4, then cut the sides. Refer to drawings on pages 4 to 6.\n\nDrill four additional 3/16-inch (4.76 mm) holes in disc number 4. (Refer to drawings on page 6)\n\nTo achieve a curved, smooth, and glossy surface for the mold cavity, obtain parts no. 1-2 and the 3D files and bring them to a competent CNC lathe workshop. They will manage the various file formats, and any uncertainties can be clarified with the drawings. (Refer to drawings on pages 7-8-9)\n\nObtain part no. 5 and cut its corners tangent to a 3-inch (7.62 cm) circle, which is the diameter of part no. 2. (Refer to drawings on page 10)\n\nFrom a thin metal sheet, cut part no. 6 and trim its corners to prevent injuries. With four nails, hammer it in the center of no. 5. (See drawings pages 11-12)\n\nDrill a 3.2 mm (⅛\") hole in the center of parts no. 5 and 6. Insert a screw to create the thread in the wood. (See drawings pages 10-11-12)\n\nAnd you’re done! Here is your Wall Peg mold.\n\nRemember to place a new screw in the wooden mold base each time before injecting. If you forget, the hole will fill with plastic and become unusable. In that case, simply drill it again.\n\nTo open the mold, remove the bolts sideways, then trim the plastic at the entrance and separate the mold parts. Unscrew the peg from the wooden part to have your peg ready.\n\nDue to the plug's volume, it requires time to cool, and the outgoing screw will remain soft. Avoid tilting and ensure it is correctly positioned.\n\nThe mold is compatible with various plastics and is easy to use. Feel free to experiment with different plastics and mixtures.\n\nTo install the peg on the wall, drill a hole and secure it manually using a wall plug."
|
||||
"content": "Extract the required tools, software hardware from the following tutorial. Return as Markdown chapters (H3) with very short bullet points (not bold), with links, max. 5.\n\nText to process:\nScrew-on molds, clamping beds, and other methods, such as car jacks, require time and manual effort to connect molds to the injector. This method, using a motorcycle stand, provides sufficient travel to clamp the mold against the injector and allows the use of leg power, keeping the hands free. \n\nThis approach also facilitates the lifting of heavier molds or accessories like clamps, potentially reducing the need for bolting the mold for clamping.\n\nThis technique is suitable for conical-style injection nozzles and chamfered-style molds. The machines used in this guide are from PlasticPreneur.\n\n\nUser Location: Lancaster, United Kingdom of Great Britain and Northern Ireland (the)\n\nAttached is a video explaining the process and the necessary parts.\n\nWe located our first item locally on Facebook Marketplace. Alternatively, you might contact workshops that service bikes, as they may possess older models. The internet also provides a convenient resource, and you can easily find these by searching for terms such as \"motorcycle stand\" or \"dirtbike stand.\"\n\nWe employed four pieces of wood, each measuring 3x2 (7.6 cm x 5.1 cm), at each corner of the flat plate on the stand, finishing with a flat piece of wood on top to create an elevated platform for the molds. This structure could alternatively be constructed from metal and vary in shape if necessary. The space in the center of the pillars is convenient for storing height-adjustment blocks.\n\nYou may find that the existing height suffices, or you can add wooden blocks to achieve the desired elevation when utilizing a floor-based injection molder.\n\nAn alternative design could involve shortening the pillars and adding a tufftuff jack on top. This would eliminate the need for varied thicknesses of wooden blocks based on the mold being used, as the tufftuff jack (with a plate on top) allows adjustment of the overall working height. The bike stand can then provide the additional travel required to interface with the nozzle.\n\nWe found that, initially, this lever is positioned rather high for using it multiple times throughout the day. If seeking a rigorous exercise routine, it may be left as initially configured. However, we preferred a more convenient setup for continual use, and discovered that reversing the arm that integrates with the lever works exceptionally well.\n\nWe drilled an additional hole in the rod extending from the base, as well as corresponding holes in the arm that attaches. This allowed us to insert an M8 bolt (5/16 inch) to securely fasten it in place. The supplementary bolt behind the arm prevents it from pivoting excessively, ensuring a stable footing.\n\nYou might consider designing an alternative system that enhances ergonomic functionality or visual appeal. Feel free to innovate!\n\nPlease view the video for a clearer explanation."
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
|
||||
@ -46,7 +46,6 @@ import { env, logger } from '@/base/index.js'
|
||||
import { applyFilters, default_filters, FilterFunction } from './filters.js'
|
||||
import { TemplateContext, buildPrompt, LLMConfig, createTemplates } from '@/base/kbot-templates.js';
|
||||
import { template_filter } from '@/base/kbot.js'
|
||||
|
||||
export const item_path = (item: IHowto) => `${HOWTO_ROOT()}/${item.slug}`
|
||||
export const asset_local_abs = async (item: IHowto, asset: IImage) => {
|
||||
const sanitizedFilename = sanitizeFilename(asset.name)
|
||||
@ -105,7 +104,6 @@ export const downloadFiles = async (dst: string, howto: IHowto) => {
|
||||
}
|
||||
}, { concurrency: 1 })
|
||||
}
|
||||
|
||||
export const asset_local_rel = async (item: IHowto, asset: IImage) => {
|
||||
const sanitizedFilename = sanitizeFilename(asset.name).toLowerCase()
|
||||
const asset_path = path.join(HOWTO_ROOT(), item.slug, sanitizedFilename)
|
||||
@ -116,7 +114,6 @@ export const asset_local_rel = async (item: IHowto, asset: IImage) => {
|
||||
}
|
||||
return default_image().src
|
||||
}
|
||||
|
||||
export const raw = async () => {
|
||||
const src = HOWTO_MIGRATION()
|
||||
const data = read(src, 'json') as any;
|
||||
@ -138,7 +135,7 @@ export const raw = async () => {
|
||||
howtos = howtos.filter((h: IHowto) => {
|
||||
return h.steps.length > 0 && !blacklist.includes(h._createdBy);
|
||||
});
|
||||
howtos = howtos.slice(0, 5)
|
||||
howtos = howtos.slice(0, 50)
|
||||
return howtos
|
||||
}
|
||||
export const defaults = async (data: any, cwd: string, root: string) => {
|
||||
@ -161,7 +158,6 @@ const commons = async (text: string): Promise<string> => {
|
||||
return await template_filter(text, 'simple', TemplateContext.COMMONS);
|
||||
}
|
||||
const content = async (str: string, filters: FilterFunction[] = default_filters) => await applyFilters(str, filters)
|
||||
|
||||
const to_github = async (item: IHowto) => {
|
||||
const itemDir = item_path(item)
|
||||
// Create README.md with all content
|
||||
@ -194,11 +190,18 @@ const to_github = async (item: IHowto) => {
|
||||
'',
|
||||
// Add step images if any
|
||||
...step.images.map(img => `\n\n`)
|
||||
].join('\n'))
|
||||
].join('\n')),
|
||||
'',
|
||||
'## Resources',
|
||||
'',
|
||||
item.resources,
|
||||
'',
|
||||
'## References',
|
||||
'',
|
||||
item.references
|
||||
].filter(Boolean).join('\n')
|
||||
write(path.join(itemDir, 'README.md'), readmeContent)
|
||||
}
|
||||
|
||||
const to_mdx = async (item: IHowto) => {
|
||||
const itemDir = item_path(item)
|
||||
|
||||
@ -237,7 +240,6 @@ const to_mdx = async (item: IHowto) => {
|
||||
].filter(Boolean).join('\n')
|
||||
write(path.join(itemDir, 'index.mdx'), mdxContent)
|
||||
}
|
||||
|
||||
const to_astro = async (item: IHowto) => {
|
||||
const itemDir = item_path(item)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user