A method and system for customizing window treatment material calculations
By automatically receiving window type and size parameters, and combining them with fabric type to intelligently determine the handling of excessive height and optimize the inversion calculation, the problem of inaccurate material calculation for custom curtains has been solved, realizing full automation and intelligence, and improving fabric utilization and production efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI LIANBANG INFORMATION TECH CO LTD
- Filing Date
- 2026-04-07
- Publication Date
- 2026-06-12
AI Technical Summary
In existing technologies, the calculation of materials for custom curtains relies on manual experience or fixed-pattern software, which leads to inaccurate calculations, low fabric utilization, low efficiency, inability to handle complex processes and dynamic parameters, and increased costs and customer complaint risks.
By receiving window type, window size, and fabric parameters, the system automatically determines the handling of excessive height and performs reverse width optimization calculations to generate a height extension plan. It also calculates the material usage data for accessories by combining the preset process parameter library, thus achieving fully automated and intelligent material usage calculation.
It improves the accuracy and efficiency of material calculation, optimizes fabric utilization, reduces material waste, lowers production costs, and ensures process consistency and resource recycling.
Smart Images

Figure CN122199111A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of curtain manufacturing, and in particular to a method and system for calculating the material usage of custom curtains. Background Technology
[0002] In the custom curtain industry, existing technologies primarily rely on manual experience or fixed-pattern software for material calculations, which has significant drawbacks. Manual calculations are tedious and prone to errors, especially when the fabric has a pattern spacing, making it difficult to accurately calculate matching allowances, often resulting in mismatched patterns or fabric waste in the finished curtains. Inexperienced sales staff are prone to over- or under-calculation, leading to material waste or rework. Furthermore, existing software only supports fixed-ratio calculations and cannot comprehensively optimize based on dynamic parameters such as fabric width, pattern spacing, fabric direction, and height variations, nor can it handle intelligent decisions for complex processes like reverse weft fabric adjustments and height adjustments. These technical problems lead to inaccurate calculations, low fabric utilization, and inefficiency, increasing costs and the risk of customer complaints. Summary of the Invention
[0003] To improve upon the inaccurate calculations and inability to handle fabric parameters and complex process optimizations in traditional solutions, this application provides a method and system for calculating the materials used in custom curtains.
[0004] This application provides a method for calculating the material usage of custom curtains, which adopts the following technical solution: S1. Receive window type parameters, window size parameters, and fabric parameters; S2. Determine whether the window triggers the excessive height processing based on the window type parameters, the window size parameters, and the fabric parameters; S3. When the ultra-high processing is triggered, perform reverse width optimization calculation based on the fabric parameters and generate a height extension scheme; S4. Based on the height adjustment scheme and the fabric parameters, calculate the main material data for the curtains; S5. Obtain the process parameters associated with the window type parameters from the preset process parameter library, and calculate the material usage data of the accessories based on the process parameters; S6. Output total material usage data; the total material usage data includes the main material usage data of the curtains and the material usage data of the accessories.
[0005] By adopting the above technical solution, the system automatically determines whether to trigger excessive height processing upon receiving window type parameters, window size parameters, and fabric parameters. When triggered, it performs inverted width optimization calculations based on the fabric parameters to generate a height adjustment scheme, thereby accurately calculating the main material usage data for the curtains. Simultaneously, it utilizes a preset process parameter library to obtain process parameters associated with the window type parameters to calculate accessory material usage data, and finally integrates and outputs the total material usage data. This method achieves full automation and intelligence in curtain material usage calculation, simplifies the design and production process, avoids human error, optimizes fabric usage efficiency, reduces material waste, improves calculation accuracy and efficiency, significantly reduces production costs and time consumption, and ensures efficient management of fabric resources and process consistency.
[0006] Optionally, S1 specifically includes receiving input window type parameters and window size parameters; receiving input fabric type, and obtaining corresponding fabric parameters from a preset fabric parameter library based on the input fabric type.
[0007] By adopting the above technical solution, the system receives window type parameters and window size parameters, and automatically retrieves accurate fabric parameters by associating them with a preset fabric parameter library based on the fabric type, thus achieving standardized access to fabric data. This method simplifies the manual parameter input process, eliminates the risk of fabric parameter matching errors, and ensures the accuracy and consistency of the basic calculation data. Simultaneously, the centralized management of the preset fabric parameter library enhances the system's compatibility and scalability for different fabric types, providing reliable data support for subsequent material calculations.
[0008] Optionally, S2 specifically includes obtaining the height in the window size parameters and the width in the fabric parameters, and comparing the size relationship between the height and the width; when the height is greater than the width, it is determined that the excessive height processing is triggered; when the height is less than or equal to the width, the excessive height processing is not triggered.
[0009] By adopting the above technical solution, the relationship between window height parameters and fabric width parameters is automatically compared to accurately trigger the overheight handling judgment mechanism. When the height exceeds the width, the calculation of the height extension scheme is automatically initiated; otherwise, redundant processes are skipped. This method achieves intelligent judgment of key decision points, eliminating the error risks that may arise from manual measurement and comparison, and ensuring the accuracy and efficiency of overheight handling. Simultaneously, this logic provides precise triggering conditions for subsequent width optimization calculations, enhancing the reliability of the calculation of the main curtain material data, optimizing the fabric cutting scheme from the source, significantly improving fabric utilization and reducing production losses, and laying a core decision-making foundation for the standardization and automation of curtain customization processes.
[0010] Optionally, S3 specifically includes obtaining the reverse width attribute in the fabric parameters when the ultra-high processing is triggered; when the reverse width attribute supports reverse width, calculating the material usage scheme in the reverse width direction; comparing the material usage data of the forward fabric scheme and the material usage scheme in the reverse width direction, selecting the scheme with smaller material usage data as the optimization scheme, and calculating the number of extension widths based on the optimization scheme to obtain the extension width scheme.
[0011] By adopting the above technical solution, the method automatically identifies the reverse weft attribute of the fabric and intelligently compares the material usage data of the forward and reverse weft schemes to accurately select the minimum material usage scheme and generate the splicing scheme. This method realizes intelligent optimization of fabric cutting in ultra-high processing scenarios, avoids the subjective judgment bias of manual scheme comparison, and ensures the scientific and economical nature of the splicing scheme. By dynamically optimizing the calculation logic of the reverse weft direction and the number of splicing widths, the method maximizes fabric utilization, significantly reduces unnecessary cutting waste, and ensures the structural rationality of the splicing process.
[0012] Optionally, S4 specifically includes obtaining the pattern spacing parameter in the fabric parameters, calculating the actual cutting length of the fabric based on the pattern spacing parameter so that each cut is a complete pattern position; and calculating the main material data for the curtain by combining the height-adjusting scheme with the actual cutting length.
[0013] By adopting the above technical solution, the fabric pattern spacing parameters are automatically acquired and the actual cutting length is accurately calculated, ensuring that each cutting position is a complete pattern position, completely eliminating the risk of fabric waste or process defects caused by pattern misalignment. This method realizes the intelligent generation of the main curtain material data, and dynamically optimizes the cutting logic by combining the height-adjustment scheme, significantly improving the pattern alignment accuracy and fabric utilization rate. At the same time, this mechanism avoids the subjective bias of manual estimation of pattern spacing, ensuring the aesthetics and structural consistency of customized curtains, and providing a reliable foundation for the subsequent integration of accessory materials.
[0014] Optionally, calculating the actual cutting length of the fabric based on the pattern spacing parameter specifically includes calculating the theoretical length of each piece of fabric; calculating the pattern matching allowance based on the pattern spacing parameter; and adding the theoretical length and the pattern matching allowance to obtain the actual cutting length.
[0015] By employing the aforementioned technical solution, the theoretical length of each piece of fabric is automatically calculated, and the allowance for matching patterns is intelligently derived. This data is then integrated to arrive at the actual cutting length, ensuring that the cutting position is strictly aligned with the complete pattern. This method achieves refined application of the pattern spacing parameter, completely avoiding the problems of insufficient or excessive allowance that may occur with manual calculations, thus guaranteeing the continuity of the pattern and its visual appeal. Through automated calculation processes, this mechanism significantly improves cutting accuracy and efficiency, reducing rework or waste caused by misaligned patterns. Simultaneously, it provides a reliable data foundation for standardized curtain customization processes, optimizing overall resource utilization efficiency.
[0016] Optionally, when calculating the main material data for the curtains, the available surplus material information of the same fabric model in the preset surplus material library is queried simultaneously; if the available surplus material information shows that there is available surplus material, the available surplus material is used first and the main material data for the curtains is adjusted, and the available surplus material information is updated.
[0017] By adopting the above technical solution, the system intelligently matches available leftover materials of the same model in real time with a preset leftover material library and dynamically optimizes the main material data for curtains, achieving automated scheduling and precise consumption of leftover material resources. This method deeply embeds the leftover material reuse mechanism into the calculation process, significantly reducing the need for new fabric procurement, maximizing the utilization of historical cutting residues, and reducing production resource waste from the source. Simultaneously, by synchronously updating the leftover material library information, the real-time nature and accuracy of inventory data are ensured, providing a dynamically updated decision-making basis for subsequent material usage calculations. This mechanism not only enhances the efficiency of resource recycling but also avoids the efficiency bottleneck of manual leftover material retrieval, further reducing procurement costs and warehouse management complexity, and promoting the evolution of curtain customization production towards a zero-waste intelligent model.
[0018] Optionally, S5 specifically includes obtaining process parameters associated with the window type parameters from a preset process parameter library based on the window type parameters; obtaining the type of accessory, and calculating the material data of the accessory based on the process parameters and the window size parameters; and outputting the material data of the accessory.
[0019] By adopting the above technical solution, the system automatically and accurately retrieves relevant process parameters from a preset process parameter library based on window type parameters, and intelligently calculates the material usage data for accessories by combining accessory type and window size parameters, thus achieving full standardization and automation of accessory calculation. This method eliminates the subjective errors of manual retrieval of process parameters, ensures the accuracy and consistency of accessory material usage data, significantly improves calculation efficiency, and reduces operation time. Simultaneously, this mechanism provides a reliable process adaptation basis for different window type customizations, avoiding accessory waste or installation defects caused by parameter mismatches, and strengthening the integrity of the overall curtain material usage calculation.
[0020] Optionally, after updating the available surplus material information, the method further includes performing cross-order surplus material collaborative matching calculation based on the fabric parameters of the current order and the available surplus material information of historical orders; when a suitable surplus material is matched, a surplus material calling scheme is generated and the preset surplus material library is updated.
[0021] By adopting the above technical solution, a cross-order surplus material collaborative matching computer mechanism is introduced. Based on the current order fabric parameters and historical order surplus material information, intelligent adaptation analysis is performed to dynamically generate the optimal surplus material call plan and update the preset surplus material library in real time. This method breaks through the limitations of traditional single-order surplus material management, realizes global scheduling and precise reuse of residual fabric across multiple orders, and eliminates the problem of fragmented surplus material accumulation caused by order fragmentation. By deeply optimizing the cross-temporal and spatial matching efficiency of the surplus material resource pool, this mechanism significantly improves the overall utilization rate of fabric, reduces the proportion of redundant inventory, and simultaneously reduces the cost of new fabric procurement and the pressure of warehouse management.
[0022] Secondly, this application provides a system for calculating the material usage of customized curtains, including an input module, a data module, a calculation module, and an output module; The input module includes a window-type receiving unit, a size receiving unit, and a fabric receiving unit; The window type receiving unit is used to receive input window type parameters; the size receiving unit is used to receive input window size parameters; the fabric receiving unit is used to receive input fabric parameters. The data module includes a library of preset process parameters that store process parameters associated with window type parameters; The computing module includes an ultra-high-performance processing unit, a main material generation unit, and an accessory generation unit; The ultra-high resolution processing unit is used to determine whether a window has triggered ultra-high resolution processing. The main material generation unit includes a reverse amplitude optimization subunit and a height calculation subunit; The reverse fabric optimization subunit is used to perform reverse fabric optimization calculations based on fabric parameters; the height calculation subunit is used to generate height calculation schemes; and the accessory generation unit is used to calculate accessory material data. The output module includes a total material integration unit, which is used to integrate and output the main material data and accessory material data for the curtains.
[0023] Understandably, the system for calculating the material usage for customized curtains provided in the second aspect above is used to execute the method provided in this application. Therefore, the beneficial effects it can achieve can be referred to the beneficial effects in the corresponding method, and will not be repeated here.
[0024] In summary, this application includes at least one of the following beneficial technical effects: 1. By adopting an automated mechanism for receiving window type parameters, window size parameters, and fabric parameters and intelligently determining the handling of excessive height, as well as a method for generating height extension schemes based on inverted width optimization calculation, the system can automatically perform curtain material calculations throughout the entire process. This effectively solves the problems of low efficiency and high error rate caused by relying on manual measurement and decision-making in existing technologies, thereby significantly improving calculation accuracy and efficiency. 2. Because it adopts the logic of accurately calculating the actual cutting length based on the flower spacing parameter and integrating the height-adding scheme, as well as the mechanism of prioritizing the use of available leftover materials in the preset leftover material library, the system can maximize the fabric utilization rate and realize intelligent resource scheduling. It effectively solves the problems of serious fabric waste and inefficient leftover material management in the existing technology, thereby greatly reducing material loss and optimizing production costs and resource recycling. 3. By adopting a dynamic optimization method that automatically obtains related process parameters from a preset process parameter library to calculate accessory material usage data and combines it with cross-order surplus material collaborative matching, the system can provide complete and high-precision total material usage data output. This effectively solves the problems of disconnected accessory calculation and insufficient scenario adaptability in existing technologies, thereby enhancing the integrity, practicality and sustainability of customized curtain production. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a flowchart of a method for calculating the material usage for custom curtains, provided in an embodiment of this application. Figure 2 This is a flowchart of the method for calculating the material usage for customized curtains provided in the embodiments of this application; Figure 3 This is a schematic diagram illustrating the method for calculating the material usage for custom curtains provided in the embodiments of this application. Figure 4 This is a schematic diagram of the pattern matching method for calculating the material usage of customized curtains provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of the system for calculating the material usage of customized curtains provided in an embodiment of this application; Figure 6 This is a flowchart of updating available surplus material information for calculating the material usage of customized curtains, provided in another embodiment of this application. Detailed Implementation
[0027] The following is in conjunction with the appendix Figure 1 - Appendix Figure 6 This application will be described in further detail.
[0028] This application discloses a method and system for calculating the material usage of customized curtains.
[0029] See attached document Figure 1 Appendix Figure 2A method for calculating the material usage for custom curtains includes S1, receiving window type parameters, window size parameters, and fabric parameters; Among them, window type parameters refer to the window structure type identifier selected by the user, such as rectangular window, bay window, L-shaped window, or trapezoidal window. The system has built-in standard window type models for users to choose from. These window type parameters determine the specific rules and adaptation logic used in subsequent calculations. Window size parameters refer to the actual physical measurement values of the window entered by the user, mainly including the two key dimensions of width and height. These values are the direct basis for calculating the actual fabric consumption. Fabric parameters refer to a series of physical and technological characteristic data associated with the fabric selected by the user, including but not limited to key information such as fabric width, pattern spacing, fabric orientation attributes, whether reverse fabric operation is supported, and fabric material type.
[0030] Specifically, when a user selects a specific fabric type name or code through the interactive interface, the system automatically triggers a query operation in the preset fabric parameter library. Using the selected fabric type as the index key, the system retrieves and reads the complete set of fabric parameters that perfectly correspond to it, ensuring that subsequent calculation modules can perform operations based on real and complete fabric characteristics. In special cases, if the user cannot find the specific fabric type they need in the preset fabric parameter library, the system provides a manual input interface, allowing the user to directly input the key parameter values of the fabric to meet calculation requirements, ensuring the system's flexibility and adaptability.
[0031] S2. Determine whether the window triggers the overheight processing based on the window type parameters, the window size parameters, and the fabric parameters.
[0032] See attached document Figure 1 Appendix Figure 2 Among these, "excess height handling" refers to the optimization process initiated by the system when the window height exceeds the fabric width, reducing fabric waste through width reduction optimization or height extension solutions. Height refers to the vertical measurement of the window input by the user, directly derived from the window size parameters. Width refers to the maximum usable width of the fabric, derived from the fabric parameters, representing the physical size limitations of the fabric.
[0033] Specifically, the system first extracts the height value from the window size parameters and reads the width value from the fabric parameters. Then, it performs a comparison between the height and width values. If the height value is greater than the width value, the system immediately triggers an overheight processing, instructing subsequent calculation modules to initiate width reduction optimization and height extension calculations. If the height value is less than or equal to the width value, the system does not trigger an overheight processing and directly enters the normal material usage calculation process. This judgment process is based on a preset threshold comparison algorithm, where the system obtains the height and width values in real time as input variables, calculates the difference through subtraction, and uses conditional judgment logic, such as if-else structures, to determine the trigger state, ensuring the real-time nature and accuracy of the decision. Window type parameters are used to adapt to the calculation rules of different window types. For example, bay windows may affect height measurement. The window size parameters provide the height value, and the fabric parameters provide the width value. After comparison, a Boolean trigger flag (true or false) is output. This Boolean trigger flag is passed to coordinate subsequent operations, thereby achieving intelligent decision-making without human intervention and providing basic support for optimized fabric utilization.
[0034] S3. When the ultra-high processing is triggered, perform the inverted width optimization calculation based on the fabric parameters and generate the height extension scheme.
[0035] See attached document Figure 1 Appendix Figure 2 With appendix Figure 3 Among them, the reverse fabric rotation optimization calculation is a system that compares the material usage data of the normal direction and the reverse direction (after rotation) when the fabric can be rotated 90 degrees, and selects the more material-saving solution. The height splicing solution is a technical solution to solve the problem of insufficient fabric height, which calculates the number of fabric widths to be spliced and the splicing position.
[0036] Specifically, the system first extracts the reverse width attribute from the fabric parameters. This attribute is a Boolean value indicating whether the fabric supports reverse width operation. If the reverse width attribute is true, the system immediately initiates a bidirectional calculation process: the forward scheme calculates the total amount of fabric required in the normal direction, while the reverse width scheme recalculates the amount based on the rotated width as the new height benchmark. The system selects the scheme with the smaller total material length value as the optimized scheme by precisely comparing the total material length values of the two schemes. If the reverse width attribute is false or the total material length value of the reverse width scheme is less than that of the forward scheme, the forward scheme is directly adopted as the optimized scheme. Subsequently, the system performs a calculation of the number of seam allowances based on the selected optimized scheme. According to the window height, the width value in the optimized scheme, and the 20 cm process allowance, the system calculates the number of additional fabric seam allowances required using the formula: Number of seam allowances = ceil((height + 0.2 - width) / (width / number of pieces)), and automatically adds a 20 cm process allowance at the seam position to ensure production feasibility.
[0037] S4. Based on the height adjustment scheme and the fabric parameters, calculate the main material data for the curtain.
[0038] See attached document Figure 1 Appendix Figure 2 With appendix Figure 4 Among these parameters, the pattern spacing parameter refers to the period length of the repeating pattern on the fabric, derived from the fabric parameters, and is a key basis for calculating the pattern matching allowance. The pattern matching allowance refers to the extra fabric length required to ensure a seamless connection of the pattern on each curtain panel after cutting. The actual cutting length refers to the final cut size of a single curtain panel after taking the pattern matching allowance into account. The main curtain material data refers to the total fabric length required to complete the cutting of all curtain panels.
[0039] Specifically, the system first extracts the pattern spacing parameter from the fabric parameters. If the pattern spacing parameter exists, meaning the fabric contains a pattern, the pattern matching calculation process is initiated. First, the theoretical length of each curtain panel is calculated based on the window type and process parameters. For example, for a rectangular window with 2x pleats, the theoretical length = width × pleat ratio ÷ number of panels. Then, the pattern matching allowance is calculated based on the pattern spacing parameter: pattern matching allowance = pattern spacing × number of panels. Finally, the theoretical length and the pattern matching allowance are added to obtain the actual cutting length: actual cutting length = theoretical length + pattern matching allowance, ensuring the cut is at the starting point of the complete pattern. If the fabric has no pattern spacing parameter, the theoretical length is used directly as the actual cutting length. Subsequently, the system calculates the total number of panels by combining the number of panels for joining in the joining scheme: total number of panels = original number of panels + number of joining panels. It also calculates the main material data for the curtain: main material data = actual cutting length × total number of panels. While generating the main material data, the system simultaneously activates the surplus material management mechanism, querying the preset surplus material library for available surplus material records of the same fabric model, including surplus material length, width, and applicable window type range. If surplus material exists that meets the requirements of the current window type and cutting length, the system prioritizes calling the surplus material and automatically deducts the new fabric usage from the main material data, while updating the inventory status of the surplus material library, such as reducing the surplus material length or deleting the record. Taking a rectangular window with a width of 4 meters and a height of 2.8 meters as an example, if the height-adding scheme requires 2 panels to be added, with a total of 4 panels and a pattern spacing of 0.3 meters, then the theoretical length is 3.9 meters, the pattern matching surplus is 0.3 meters, the actual cutting length is 3.9 + 0.3 = 4.2 meters, and the main material data is 16.8 meters. If the surplus material library has 2 meters of the same fabric that is applicable to the current window type, the system automatically adjusts the new fabric usage to 14.8 meters and marks the surplus material as used.
[0040] S5. Obtain the process parameters associated with the window type parameters from the preset process parameter library, and calculate the material usage data of the accessories based on the process parameters.
[0041] See attached document Figure 1 Appendix Figure 2Among them, the process parameters are a set of manufacturing specifications bound to a specific window type, derived from a preset process parameter library, including key data such as recommended values for pleat ratio, suggested values for the number of panels, hook or punching process types, shaping requirements, lining addition rules, tieback configuration, and lace sewing positions. Accessory material data refers to the total consumption of auxiliary materials such as lace and tiebacks, and its calculation logic depends on the process parameters and window size parameters.
[0042] Specifically, the system first triggers an intelligent query operation on the preset process parameter library based on window type parameters, such as rectangular window or bay window. It accurately retrieves the associated process parameter set through window type identifiers. For example, a rectangular window is associated with 2.0 times pleating and double-sided lace by default, while a bay window may be associated with 1.8 times pleating and single-sided lace. Then, the system obtains the accessory type selected by the user, such as the single-sided, double-sided, or four-sided sewing method of the lace, and whether tiebacks are added. Based on the configuration rules in the process parameters and the window size parameters, it performs accessory calculations. The formula for calculating lace material is: total lace length equals window height multiplied by the number of lace seams multiplied by the number of curtain panels, where the number of lace seams is determined by the lace position rules in the process parameters. The tieback material calculation uses conditional logic: if the window height is greater than or equal to 2.3 meters, 20 centimeters of tieback material is allocated; otherwise, zero tieback material is allocated. Taking a rectangular window with a width of 4 meters and a height of 2.5 meters as an example, if the process parameters specify double-sided lace trim with 2 pieces, then the lace trim material usage is 2.5 meters multiplied by 2 trim pieces multiplied by 2 pieces, which equals 10 meters. Since the height of 2.5 meters is greater than the 2.3-meter threshold, the binding material usage is 0.2 meters, bringing the total accessory material usage to 10.2 meters. This process combines a parameterized rule base with dynamic calculations to achieve standardized and automated output of accessory material usage.
[0043] S6. Output total material usage data; the total material usage data includes the main material usage data of the curtains and the material usage data of the accessories.
[0044] See attached document Figure 1 Appendix Figure 2 The total material usage data refers to the total length of fabric required to complete the curtain production, which is obtained by adding the main curtain material usage data and the accessory material usage data. The main curtain material usage data is the total length of fabric used for the main body of the curtain. The accessory material usage data is the total length of auxiliary materials such as lace and tiebacks used.
[0045] Specifically, the system receives the main material usage data for the curtains, such as 16.8 meters of main material for a rectangular window with a width of 4 meters and a height of 2.8 meters, and the accessory material usage data, such as 11.2 meters of lace trim and 0.2 meters of tiebacks for the same rectangular window. It then performs data integration calculations, summing the main material usage data and accessory material usage data in real time using an adder logic to generate the total material usage data. In the example of a rectangular window with a width of 4 meters and a height of 2.8 meters, the total material usage is 16.8 + 11.2 + 0.2 = 28.2 meters. Simultaneously, based on the integration result, a manufacturing instruction document is generated, including details of the total usage and process requirements. Taking a rectangular window that is 4 meters wide and 2.8 meters high as an example, the system calculates the main material usage of 16.8 meters, the joining scheme based on 2 times pleats divided into 2 pieces, a fabric width of 1.5 meters and a lace spacing of 0.3 meters, and the accessory material usage of 11.4 meters, namely 11.2 meters of double-sided lace plus 0.2 meters of binding tape. After that, the system outputs the total material usage data of 28.2 meters, and includes process instructions such as joining positions and lace sewing requirements, to achieve one-stop data delivery.
[0046] See attached document Figure 5 This is a schematic diagram of a system for calculating the material usage of customized curtains in an embodiment of this application.
[0047] A system for calculating the material usage of customized curtains includes an input module 1, a data module 2, a calculation module 3, and an output module 4.
[0048] The window type receiving unit 11 of input module 1 receives window type parameters input by the user, which identify the window structure type, such as a rectangular window or a bay window. The size receiving unit 12 receives window size parameters input by the user, including width and height values. The fabric receiving unit 13 receives the fabric type input by the user and queries the preset fabric parameter library 22 of data module 2 according to the fabric type to obtain the corresponding fabric parameters, such as width, pattern spacing, weft attributes, and fabric direction.
[0049] The preset process parameter library 21 in data module 2 stores the set of process parameters bound to window type parameters, including pleat multiple, number of pieces, hook process type, lace configuration rules and binding conditions, etc.; the preset fabric parameter library 22 stores the complete set of fabric parameters associated with fabric type.
[0050] The extra-height processing unit 31 of the calculation module 3 is connected to the size receiving unit 12 and the preset fabric parameter library 22. It is used to compare the window height with the fabric width. When the height is greater than the width, the extra-height processing process is triggered, and a trigger flag is output. The reverse width optimization subunit 321 of the main material generation unit 32 is connected to the extra-height processing unit 31 and the preset fabric parameter library 22. It calculates the material usage scheme in the forward and reverse width directions based on the reverse width attributes of the fabric, selects the optimization scheme with smaller material usage, and outputs it. The height calculation subunit 322 is connected to the reverse width optimization subunit 321. It receives the optimization scheme, calculates the number of height extensions, and automatically adds the process allowance. The cutting calculation subunit 323 is connected to the height calculation subunit 322 and the preset fabric parameter library 22. It calculates the actual cutting length based on the fabric's pattern spacing parameters to ensure the integrity of the pattern. The accessory generation unit 33 is connected to the preset process parameter library 21 and the size receiving unit 12. It retrieves process parameters based on window type parameters and calculates the material usage data for accessories such as lace and ribbons.
[0051] The total material integration unit 41 of the output module 4 is connected to the main material generation unit 32 and the accessory generation unit 33 respectively. It integrates the main material data and accessory material data of the curtain to generate total material data and outputs it to the user interface or reporting system.
[0052] The entire system workflow is as follows: after the user inputs the window type parameters, size parameters, and fabric parameters, the input module 1 transmits the above three parameters, the data module 2 provides supporting data, the calculation module 3 processes the super height judgment, reverse width optimization, height calculation, cutting calculation, and accessory calculation through sequential connection between units, and the output module 4 integrates the final results.
[0053] The following is a description of another embodiment of this method. Based on the method for calculating the material usage for customized curtains described in Embodiment 1, this Embodiment 2 adds some specific implementation methods.
[0054] See attached document Figure 6 In this embodiment, after updating the available surplus material information, the method further includes performing cross-order surplus material collaborative matching calculation based on the fabric parameters of the current order and the available surplus material information of historical orders; when a suitable surplus material is matched, a surplus material calling scheme is generated and the preset surplus material library is updated.
[0055] The available surplus material information consists of records of fabric left over after historical orders were completed, stored in a preset surplus material library. These records include attributes such as surplus material number, fabric type, surplus material length, pattern spacing parameters, timestamp, and pattern direction. The fabric parameters for the current order include the fabric type, pattern spacing parameters, and actual cutting length. Adapted surplus material refers to historical surplus material that matches the parameters of the current order and can be used. The surplus material retrieval plan refers to the generated optimized usage plan.
[0056] Specifically, after updating the available surplus material information for the current order, the system immediately initiates a cross-order matching process. First, it extracts the fabric model, pattern spacing parameters, and actual cutting length of the current order as matching criteria. Then, it iterates through all historical orders' surplus material records in the preset surplus material library, filtering out surplus material numbers with the same fabric model and pattern spacing parameters. Next, it calculates the fit of each filtered surplus material number, which is equal to the surplus material length divided by the actual cutting length and then multiplied by 100%. Based on the fit value, a surplus material call priority queue is generated from high to low, and a timestamp is added to each surplus material number in the queue. When the fit values are the same, the surplus material number with the earliest timestamp is selected first, following the first-in, first-out principle. The surplus material number at the top of the priority queue is read, and its pattern direction is verified to match the current order's process parameters. If the pattern direction matches, the surplus material number is locked, and the inventory in the surplus material library is deducted. If the pattern direction does not match, the inversion optimization unit of the calculation module is activated to recalculate the surplus material's fit. Finally, a surplus material call plan is generated, and the preset surplus material library is updated.
[0057] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," "third," and similar terms used in this application specification and claims do not indicate any order, quantity, or importance, but are merely used to distinguish different components. The terms "an" or "a" and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms "comprising" or "including" and similar terms mean that the elements or objects preceding "comprising" or "including" encompass the elements or objects listed following "comprising" or "including" and their equivalents, and do not exclude other elements or objects. "Above," "below," "left," "right," etc., are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0058] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A method for calculating material usage for custom curtains, characterized in that: This includes S1, receiving window type parameters, window size parameters, and fabric parameters; S2. Determine whether the window triggers the excessive height processing based on the window type parameters, the window size parameters, and the fabric parameters; S3. When the ultra-high processing is triggered, perform reverse width optimization calculation based on the fabric parameters and generate a height extension scheme; S4. Based on the height adjustment scheme and the fabric parameters, calculate the main material data for the curtains; S5. Obtain the process parameters associated with the window type parameters from the preset process parameter library, and calculate the material usage data of the accessories based on the process parameters; S6. Output total material usage data; The total material usage data includes the main material usage data for the curtains and the material usage data for the accessories.
2. The method for calculating material usage for custom curtains according to claim 1, characterized in that: S1 specifically includes receiving input window type parameters and window size parameters; receiving input fabric type, and obtaining corresponding fabric parameters from a preset fabric parameter library based on the input fabric type.
3. The method for calculating material usage for custom curtains according to claim 1, characterized in that: S2 specifically includes obtaining the height from the window size parameters and the width from the fabric parameters, and comparing the size relationship between the height and the width; when the height is greater than the width, it is determined that the excessive height processing is triggered; when the height is less than or equal to the width, the excessive height processing is not triggered.
4. The method for calculating material usage for custom curtains according to claim 1, characterized in that: S3 specifically includes obtaining the reverse width attribute in the fabric parameters when ultra-high processing is triggered; and calculating the material usage scheme in the reverse width direction when the reverse width attribute supports reverse width. Compare the material usage data of the forward fabric scheme and the reverse fabric scheme, select the scheme with smaller material usage data as the optimization scheme, and calculate the number of splicing widths based on the optimization scheme to obtain the splicing width scheme.
5. The method for calculating material usage for custom curtains according to claim 4, characterized in that: S4 specifically includes obtaining the pattern spacing parameter from the fabric parameters, calculating the actual cutting length of the fabric based on the pattern spacing parameter so that each cut is a complete pattern position; and calculating the main material data for the curtain by combining the height-adjusting scheme with the actual cutting length.
6. The method for calculating material usage for custom curtains according to claim 5, characterized in that: The calculation of the actual cutting length of the fabric based on the flower spacing parameter specifically includes calculating the theoretical length of each piece of fabric; The flower spacing parameter is used to calculate the flower matching allowance; the theoretical length is added to the flower matching allowance to obtain the actual cutting length.
7. The method for calculating material usage for custom curtains according to claim 5, characterized in that: When calculating the main material data for the curtains, the available surplus material information of the same fabric model in the preset surplus material library is queried simultaneously; if the available surplus material information shows that there is available surplus material, the available surplus material is used first and the main material data for the curtains is adjusted, and the available surplus material information is updated.
8. The method for calculating material usage for custom curtains according to claim 1, characterized in that: S5 specifically includes obtaining process parameters associated with the window type parameters from a preset process parameter library based on the window type parameters; obtaining the type of accessory; and calculating the material data of the accessory based on the process parameters and the window size parameters. Output the material data for the aforementioned components.
9. A method for calculating material usage for custom curtains according to claim 7, characterized in that: After updating the available surplus material information, the method further includes performing cross-order surplus material collaborative matching calculation based on the fabric parameters of the current order and the available surplus material information of historical orders; when a suitable surplus material is matched, a surplus material calling scheme is generated and the preset surplus material library is updated.
10. A system for calculating material usage for customized curtains, characterized in that: It includes an input module, a data module, a calculation module, and an output module; The input module includes a window-type receiving unit, a size receiving unit, and a fabric receiving unit; The window type receiving unit is used to receive input window type parameters; the size receiving unit is used to receive input window size parameters; the fabric receiving unit is used to receive input fabric parameters. The data module includes a library of preset process parameters that store process parameters associated with window type parameters; The computing module includes an ultra-high-performance processing unit, a main material generation unit, and an accessory generation unit; The ultra-high resolution processing unit is used to determine whether a window has triggered ultra-high resolution processing. The main material generation unit includes a reverse amplitude optimization subunit and a height calculation subunit; The inverted amplitude optimization subunit is used to perform inverted amplitude optimization calculations based on fabric parameters; The height calculation subunit is used to generate height adjustment schemes; The parts generation unit is used to calculate the material usage data for parts; The output module includes a total material integration unit, which is used to integrate and output the main material data and accessory material data for the curtains.